diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2020-01-11 22:52:26 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2020-03-13 21:08:17 -0400 |
commit | 161aff1d93abf0e5b5e9dbca88928998c155f677 (patch) | |
tree | 89d39d7e332ca69cd7b88026a406009fe0b210b9 /fs/internal.h | |
parent | cbae4d12eeee6b002a1252c4c45213651e8f4b55 (diff) | |
download | linux-161aff1d93abf0e5b5e9dbca88928998c155f677.tar.gz linux-161aff1d93abf0e5b5e9dbca88928998c155f677.tar.bz2 linux-161aff1d93abf0e5b5e9dbca88928998c155f677.zip |
LOOKUP_MOUNTPOINT: fold path_mountpointat() into path_lookupat()
New LOOKUP flag, telling path_lookupat() to act as path_mountpointat().
IOW, traverse mounts at the final point and skip revalidation of the
location where it ends up.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/internal.h')
-rw-r--r-- | fs/internal.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/internal.h b/fs/internal.h index f3f280b952a3..b108a8eb75ca 100644 --- a/fs/internal.h +++ b/fs/internal.h @@ -61,7 +61,6 @@ extern int finish_clean_context(struct fs_context *fc); */ extern int filename_lookup(int dfd, struct filename *name, unsigned flags, struct path *path, struct path *root); -extern int user_path_mountpoint_at(int, const char __user *, unsigned int, struct path *); extern int vfs_path_lookup(struct dentry *, struct vfsmount *, const char *, unsigned int, struct path *); long do_mknodat(int dfd, const char __user *filename, umode_t mode, |