summaryrefslogtreecommitdiffstats
path: root/include/linux/quota.h
diff options
context:
space:
mode:
authorAl Viro2016-11-21 01:49:34 +0100
committerAl Viro2016-12-06 01:03:06 +0100
commit8c54ca9c6882f5a68d19a82fd063b74f91d4c22b (patch)
treecf7f72322ef3eeab90a2612a80d55146c71e3b1c /include/linux/quota.h
parentconstify alloc_file() (diff)
downloadkernel-qcow2-linux-8c54ca9c6882f5a68d19a82fd063b74f91d4c22b.tar.gz
kernel-qcow2-linux-8c54ca9c6882f5a68d19a82fd063b74f91d4c22b.tar.xz
kernel-qcow2-linux-8c54ca9c6882f5a68d19a82fd063b74f91d4c22b.zip
quota: constify struct path in quota_on
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/quota.h')
-rw-r--r--include/linux/quota.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/quota.h b/include/linux/quota.h
index 55107a8ff887..78a98821f9d0 100644
--- a/include/linux/quota.h
+++ b/include/linux/quota.h
@@ -431,7 +431,7 @@ struct qc_info {
/* Operations handling requests from userspace */
struct quotactl_ops {
- int (*quota_on)(struct super_block *, int, int, struct path *);
+ int (*quota_on)(struct super_block *, int, int, const struct path *);
int (*quota_off)(struct super_block *, int);
int (*quota_enable)(struct super_block *, unsigned int);
int (*quota_disable)(struct super_block *, unsigned int);