aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/fs.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 /include/linux/fs.h
parentquota: constify struct path in quota_on (diff)
downloadlinux-dev-ca71cf71eeda04dc9ad18271504e499013af5415.tar.xz
linux-dev-ca71cf71eeda04dc9ad18271504e499013af5415.zip
namespace.c: constify struct path passed to a bunch of primitives
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r--include/linux/fs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index f96501b51c49..3056fe46f336 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -2123,7 +2123,7 @@ extern int may_umount_tree(struct vfsmount *);
extern int may_umount(struct vfsmount *);
extern long do_mount(const char *, const char __user *,
const char *, unsigned long, void *);
-extern struct vfsmount *collect_mounts(struct path *);
+extern struct vfsmount *collect_mounts(const struct path *);
extern void drop_collected_mounts(struct vfsmount *);
extern int iterate_mounts(int (*)(struct vfsmount *, void *), void *,
struct vfsmount *);