do_last: kill symlink_ok
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 22 Apr 2015 16:02:25 +0000 (12:02 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 11 May 2015 02:18:30 +0000 (22:18 -0400)
commitfd2805be238947eb819284189205e8de6f6c41c4
treeb7a71ce02d48152b0b866060c0d595c3dacdfde0
parentf488443d1dc50454acd549ddd856421e8f961f98
do_last: kill symlink_ok

When O_PATH is present, O_CREAT isn't, so symlink_ok is always equal to
(open_flags & O_PATH) && !(nd->flags & LOOKUP_FOLLOW).

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/namei.c