summaryrefslogtreecommitdiffstats
path: root/fs/internal.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2020-01-12 04:52:26 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2020-03-14 02:08:17 +0100
commit161aff1d93abf0e5b5e9dbca88928998c155f677 (patch)
tree89d39d7e332ca69cd7b88026a406009fe0b210b9 /fs/internal.h
parentfold handle_mounts() into step_into() (diff)
downloadlinux-161aff1d93abf0e5b5e9dbca88928998c155f677.tar.xz
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.h1
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,