diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-11-14 01:50:26 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-12-05 19:11:58 -0500 |
commit | 8f64fb1ccef331077a96cbfc3c23f91cbe563fd0 (patch) | |
tree | 7beb8dc566ef1fb70abe82b7ea817efc677b8367 /fs/orangefs | |
parent | 31d66bcd3f197d135145afb268996b4f5ea83459 (diff) | |
download | linux-8f64fb1ccef331077a96cbfc3c23f91cbe563fd0.tar.gz linux-8f64fb1ccef331077a96cbfc3c23f91cbe563fd0.tar.bz2 linux-8f64fb1ccef331077a96cbfc3c23f91cbe563fd0.zip |
namei: fold should_follow_link() with the step into not-followed link
All callers are followed by the same boilerplate - "if it has returned
0, update nd->path/inode/seq - we are not following a symlink here".
Pull it into the function itself, renaming it into step_into().
Rename WALK_GET to WALK_FOLLOW, while we are at it - more descriptive
name.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/orangefs')
0 files changed, 0 insertions, 0 deletions