Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-16415 quota: enforce project quota for root
[fs/lustre-release.git]
/
lustre
/
osd-zfs
/
osd_quota.c
diff --git
a/lustre/osd-zfs/osd_quota.c
b/lustre/osd-zfs/osd_quota.c
index
7296f3e
..
708a4b6
100644
(file)
--- a/
lustre/osd-zfs/osd_quota.c
+++ b/
lustre/osd-zfs/osd_quota.c
@@
-579,6
+579,8
@@
int osd_declare_quota(const struct lu_env *env, struct osd_device *osd,
qi->lqi_type = PRJQUOTA;
rcp = qsd_op_begin(env, qsd, &oh->ot_quota_trans, qi,
local_flags);
+ if (local_flags && *local_flags & QUOTA_FL_ROOT_PRJQUOTA)
+ force = th->th_ignore_quota;
if (force && (rcp == -EDQUOT || rcp == -EINPROGRESS))
rcp = 0;
}