[PATCH 0/3] VFS: name lookup improvements.

From: NeilBrown
Date: Thu Nov 09 2017 - 02:50:50 EST


These three patches address two issues: d_weak_revalidate and
path_mountpoint lookups.

The former is poorly defined and doesn't actually do the one thing
that it would be useful for it to do. So the nfs implemention
is improved, the 9p one discarded, and the documentation clarified.

Given this change and recent change to follow_automount() the
mountpoint path lookup functions are no longer needed. The regular
path look functions are quite sufficient.
The second two patches remove this with detailed explanation of why
it is OK.

Thanks,
NeilBrown


---

NeilBrown (3):
VFS/nfs/9p: revise meaning of d_weak_invalidate.
VFS: remove user_path_mountpoint_at()
VFS / autofs4: remove kern_path_mountpoint()


Documentation/filesystems/porting | 5 +
Documentation/filesystems/vfs.txt | 11 +--
fs/9p/vfs_dentry.c | 1
fs/autofs4/dev-ioctl.c | 5 -
fs/internal.h | 1
fs/namei.c | 150 -------------------------------------
fs/namespace.c | 2
fs/nfs/dir.c | 60 ++-------------
include/linux/namei.h | 1
9 files changed, 24 insertions(+), 212 deletions(-)

--
Signature