diff options
author | Jan Kara <jack@suse.cz> | 2014-11-19 11:21:58 +0300 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2015-01-21 21:21:30 +0300 |
commit | 9c45101e88b2bf2ce36b8833fcfa784a9149aa74 (patch) | |
tree | 6444ff15cb9c5a41c156510d7670f5c47f053867 /fs | |
parent | 96827adcc2d0eed3fdf7f88e73a50a83b23def96 (diff) | |
download | linux-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')
-rw-r--r-- | fs/quota/dquot.c | 2 |
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 */ |