Whamcloud - gitweb
LU-530 group quotas not enforced
authorNiu Yawei <niu@whamcloud.com>
Mon, 25 Jul 2011 05:20:36 +0000 (22:20 -0700)
committerJohann Lombardi <johann@whamcloud.com>
Fri, 29 Jul 2011 12:02:32 +0000 (08:02 -0400)
commitc55bdd6eea17ea470908a3ae8981a42e7231de05
tree45e34487c046c074b4957b345b49648c0d25700e
parentfabc40428e5c7283c9f4419c0558b32ddf00dfdb
LU-530 group quotas not enforced

In filter_quota_getflag(), we shouldn't break the loop when the file owner's
quota limit isn't set, otherwise, the check for the file group will be skipped
and the out of quota flag will not be returned to client at the end.

Signed-off-by: Niu Yawei <niu@whamcloud.com>
Change-Id: Ibf6f1fe3a550ce1f4b3d627fe24ca4484e754a41
Reviewed-on: http://review.whamcloud.com/1153
Reviewed-by: Fan Yong <yong.fan@whamcloud.com>
Tested-by: Hudson
Reviewed-by: Johann Lombardi <johann@whamcloud.com>
lustre/quota/quota_interface.c