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
/
osc
/
osc_cache.c
diff --git
a/lustre/osc/osc_cache.c
b/lustre/osc/osc_cache.c
index
663e749
..
20765d7
100644
(file)
--- a/
lustre/osc/osc_cache.c
+++ b/
lustre/osc/osc_cache.c
@@
-2302,7
+2302,7
@@
int osc_queue_async_io(const struct lu_env *env, struct cl_io *io,
* we should bypass quota
*/
if ((!oio->oi_cap_sys_resource ||
- cli->cl_root_squash) &&
+ cli->cl_root_squash
|| cli->cl_root_prjquota
) &&
!io->ci_noquota) {
struct cl_object *obj;
struct cl_attr *attr;