summaryrefslogtreecommitdiff
path: root/fs/quota/quota.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-11-21 03:49:34 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2016-12-06 03:03:06 +0300
commit8c54ca9c6882f5a68d19a82fd063b74f91d4c22b (patch)
treecf7f72322ef3eeab90a2612a80d55146c71e3b1c /fs/quota/quota.c
parenta4141d7cf80fee99ace8d8a95dd358c98ad6ad69 (diff)
downloadlinux-8c54ca9c6882f5a68d19a82fd063b74f91d4c22b.tar.xz
quota: constify struct path in quota_on
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/quota/quota.c')
-rw-r--r--fs/quota/quota.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/quota/quota.c b/fs/quota/quota.c
index 2d445425aad7..5acd0c4769af 100644
--- a/fs/quota/quota.c
+++ b/fs/quota/quota.c
@@ -80,7 +80,7 @@ unsigned int qtype_enforce_flag(int type)
}
static int quota_quotaon(struct super_block *sb, int type, qid_t id,
- struct path *path)
+ const struct path *path)
{
if (!sb->s_qcop->quota_on && !sb->s_qcop->quota_enable)
return -ENOSYS;
@@ -700,7 +700,7 @@ static int quota_rmxquota(struct super_block *sb, void __user *addr)
/* Copy parameters and call proper function */
static int do_quotactl(struct super_block *sb, int type, int cmd, qid_t id,
- void __user *addr, struct path *path)
+ void __user *addr, const struct path *path)
{
int ret;