Searched hist:"8 f64fb1c" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/ |
H A D | namei.c | 8f64fb1c Mon Nov 14 00:50:26 CST 2016 Al Viro <viro@zeniv.linux.org.uk> 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> 8f64fb1c Mon Nov 14 00:50:26 CST 2016 Al Viro <viro@zeniv.linux.org.uk> 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>
|