summaryrefslogtreecommitdiffstats
path: root/fs/quota/dquot.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-11-21 01:49:34 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2016-12-06 01:03:06 +0100
commit8c54ca9c6882f5a68d19a82fd063b74f91d4c22b (patch)
treecf7f72322ef3eeab90a2612a80d55146c71e3b1c /fs/quota/dquot.c
parentconstify alloc_file() (diff)
downloadlinux-8c54ca9c6882f5a68d19a82fd063b74f91d4c22b.tar.xz
linux-8c54ca9c6882f5a68d19a82fd063b74f91d4c22b.zip
quota: constify struct path in quota_on
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/quota/dquot.c')
-rw-r--r--fs/quota/dquot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/quota/dquot.c b/fs/quota/dquot.c
index 1bfac28b7e7d..8738a0d62c09 100644
--- a/fs/quota/dquot.c
+++ b/fs/quota/dquot.c
@@ -2401,7 +2401,7 @@ int dquot_resume(struct super_block *sb, int type)
EXPORT_SYMBOL(dquot_resume);
int dquot_quota_on(struct super_block *sb, int type, int format_id,
- struct path *path)
+ const struct path *path)
{
int error = security_quota_on(path->dentry);
if (error)