summaryrefslogtreecommitdiffstats
path: root/fs/internal.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-11-20 19:45:28 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2016-12-05 19:03:12 -0500
commitca71cf71eeda04dc9ad18271504e499013af5415 (patch)
tree9e21710c7bc102a5b775bf91ed1f291fd6f2c166 /fs/internal.h
parent8c54ca9c6882f5a68d19a82fd063b74f91d4c22b (diff)
downloadlinux-ca71cf71eeda04dc9ad18271504e499013af5415.tar.bz2
namespace.c: constify struct path passed to a bunch of primitives
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/internal.h')
-rw-r--r--fs/internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/internal.h b/fs/internal.h
index f4da3341b4a3..3e460159d835 100644
--- a/fs/internal.h
+++ b/fs/internal.h
@@ -62,7 +62,7 @@ extern int vfs_path_lookup(struct dentry *, struct vfsmount *,
extern void *copy_mount_options(const void __user *);
extern char *copy_mount_string(const void __user *);
-extern struct vfsmount *lookup_mnt(struct path *);
+extern struct vfsmount *lookup_mnt(const struct path *);
extern int finish_automount(struct vfsmount *, struct path *);
extern int sb_prepare_remount_readonly(struct super_block *);