aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/fs.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-11-20 20:27:12 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2016-12-05 19:03:49 -0500
commitf0bb5aaf2c51267c49ed5e2c6103df22acfe30f5 (patch)
treeed42ba59576c11ad22daeae5291cfe3f5b71a9a1 /include/linux/fs.h
parentnamespace.c: constify struct path passed to a bunch of primitives (diff)
downloadlinux-dev-f0bb5aaf2c51267c49ed5e2c6103df22acfe30f5.tar.xz
linux-dev-f0bb5aaf2c51267c49ed5e2c6103df22acfe30f5.zip
vfs: misc struct path constification
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 3056fe46f336..0e177d395efb 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -2127,7 +2127,7 @@ 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 *);
-extern int vfs_statfs(struct path *, struct kstatfs *);
+extern int vfs_statfs(const struct path *, struct kstatfs *);
extern int user_statfs(const char __user *, struct kstatfs *);
extern int fd_statfs(int, struct kstatfs *);
extern int vfs_ustat(dev_t, struct kstatfs *);