Re: [PATCH 3/3] VFS / autofs4: remove kern_path_mountpoint()

2017-11-09 Thread Linus Torvalds
On Wed, Nov 8, 2017 at 11:20 PM, NeilBrown wrote: > --- > fs/autofs4/dev-ioctl.c |5 +- > fs/namei.c | 129 > > include/linux/namei.h |1 > 3 files changed, 2 insertions(+), 133 deletions(-) This one

Re: [PATCH 3/3] VFS / autofs4: remove kern_path_mountpoint()

2017-11-09 Thread Linus Torvalds
On Wed, Nov 8, 2017 at 11:20 PM, NeilBrown wrote: > --- > fs/autofs4/dev-ioctl.c |5 +- > fs/namei.c | 129 > > include/linux/namei.h |1 > 3 files changed, 2 insertions(+), 133 deletions(-) This one certainly looks lovely,

[PATCH 3/3] VFS / autofs4: remove kern_path_mountpoint()

2017-11-08 Thread NeilBrown
kern_path_mountpoint() is only called from autofs4 to perform lookups which need to identify autofs4 mount points. Many of the differences between kern_path() and kern_path_mountpoint() are related to the fact that we will never use O_CREAT with the latter, and don't need to "open" the target.

[PATCH 3/3] VFS / autofs4: remove kern_path_mountpoint()

2017-11-08 Thread NeilBrown
kern_path_mountpoint() is only called from autofs4 to perform lookups which need to identify autofs4 mount points. Many of the differences between kern_path() and kern_path_mountpoint() are related to the fact that we will never use O_CREAT with the latter, and don't need to "open" the target.