aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu
diff options
context:
space:
mode:
authorAl Viro <[email protected]>2016-11-14 06:50:26 +0000
committerAl Viro <[email protected]>2016-12-06 00:11:58 +0000
commit8f64fb1ccef331077a96cbfc3c23f91cbe563fd0 (patch)
tree7beb8dc566ef1fb70abe82b7ea817efc677b8367 /drivers/gpu/drm/amd/amdgpu
parentnamei: pass both WALK_GET and WALK_MORE to should_follow_link() (diff)
downloadkernel-8f64fb1ccef331077a96cbfc3c23f91cbe563fd0.tar.gz
kernel-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 <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
0 files changed, 0 insertions, 0 deletions