summaryrefslogtreecommitdiffstats
path: root/fs/Kconfig
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-03-15 02:28:04 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2011-03-15 22:16:25 +0100
commitce0525449da56444948c368f52e10f3db0465338 (patch)
treedf50f16b0af733738b39c9430145d94e35a2abdb /fs/Kconfig
parentMake trailing symlink resolution in path_lookupat() iterative (diff)
downloadlinux-ce0525449da56444948c368f52e10f3db0465338.tar.xz
linux-ce0525449da56444948c368f52e10f3db0465338.zip
simplify link_path_walk() tail
Now that link_path_walk() is called without LOOKUP_PARENT only from do_follow_link(), we can simplify the checks in last component handling. First of all, checking if we'd arrived to a directory is not needed - the caller will check it anyway. And LOOKUP_FOLLOW is guaranteed to be there, since we only get to that place with nd->depth > 0. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/Kconfig')
0 files changed, 0 insertions, 0 deletions