summaryrefslogtreecommitdiff
path: root/fs/quota/dquot.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2014-11-19 11:21:58 +0300
committerJan Kara <jack@suse.cz>2015-01-21 21:21:30 +0300
commit9c45101e88b2bf2ce36b8833fcfa784a9149aa74 (patch)
tree6444ff15cb9c5a41c156510d7670f5c47f053867 /fs/quota/dquot.c
parent96827adcc2d0eed3fdf7f88e73a50a83b23def96 (diff)
downloadlinux-9c45101e88b2bf2ce36b8833fcfa784a9149aa74.tar.xz
quota: Cleanup flags definitions
Currently all quota flags were defined just in kernel-private headers. Export flags readable / writeable from userspace to userspace via include/uapi/linux/quota.h. Signed-off-by: Jan Kara <jack@suse.cz>
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 8f0acef3d184..f8be368b9086 100644
--- a/fs/quota/dquot.c
+++ b/fs/quota/dquot.c
@@ -1248,7 +1248,7 @@ static int ignore_hardlimit(struct dquot *dquot)
return capable(CAP_SYS_RESOURCE) &&
(info->dqi_format->qf_fmt_id != QFMT_VFS_OLD ||
- !(info->dqi_flags & V1_DQF_RSQUASH));
+ !(info->dqi_flags & DQF_ROOT_SQUASH));
}
/* needs dq_data_lock */