OSDN Git Service

namei: have link_path_walk() maintain LOOKUP_PARENT
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 5 Mar 2020 20:48:44 +0000 (15:48 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 14 Mar 2020 01:09:12 +0000 (21:09 -0400)
commitc108837e06b659fd1dd144c415a25b7ac339926b
treec91e2cf49708d415ece30236bdb7d7c6dba06b97
parentd8d4611a4f2dd6be8fe3ddb5cf8eea7f1dfe0787
namei: have link_path_walk() maintain LOOKUP_PARENT

set on entry, clear when we get to the last component.

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