summaryrefslogtreecommitdiffstats
path: root/fs/statfs.c
diff options
context:
space:
mode:
authorAl Viro2016-11-21 02:27:12 +0100
committerAl Viro2016-12-06 01:03:49 +0100
commitf0bb5aaf2c51267c49ed5e2c6103df22acfe30f5 (patch)
treeed42ba59576c11ad22daeae5291cfe3f5b71a9a1 /fs/statfs.c
parentnamespace.c: constify struct path passed to a bunch of primitives (diff)
downloadkernel-qcow2-linux-f0bb5aaf2c51267c49ed5e2c6103df22acfe30f5.tar.gz
kernel-qcow2-linux-f0bb5aaf2c51267c49ed5e2c6103df22acfe30f5.tar.xz
kernel-qcow2-linux-f0bb5aaf2c51267c49ed5e2c6103df22acfe30f5.zip
vfs: misc struct path constification
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/statfs.c')
-rw-r--r--fs/statfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/statfs.c b/fs/statfs.c
index 083dc0ac9140..13ae259d4879 100644
--- a/fs/statfs.c
+++ b/fs/statfs.c
@@ -63,7 +63,7 @@ static int statfs_by_dentry(struct dentry *dentry, struct kstatfs *buf)
return retval;
}
-int vfs_statfs(struct path *path, struct kstatfs *buf)
+int vfs_statfs(const struct path *path, struct kstatfs *buf)
{
int error;