Whamcloud - gitweb
LU-530 group quotas not enforced
authorNiu Yawei <niu@whamcloud.com>
Thu, 28 Jul 2011 10:47:46 +0000 (03:47 -0700)
committerOleg Drokin <green@whamcloud.com>
Mon, 8 Aug 2011 16:57:59 +0000 (12:57 -0400)
commit2d77ef1d80a6a39d50466e67c164f9cf847a0afc
tree46ff6e266a0b004e7743007eab626f218f1811a7
parent70c52b3e8ff585d4be806f4024bc202df5e285b7
LU-530 group quotas not enforced

In filter_quota_getflag(), we shouldn't break the loop when the file's owner
doesn't have quota limit, otherwise, the check for file's 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: I3e92ba4c061409d5a911d46916535c71f7843e0b
Reviewed-on: http://review.whamcloud.com/1156
Tested-by: Hudson
Reviewed-by: Fan Yong <yong.fan@whamcloud.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Johann Lombardi <johann@whamcloud.com>
lustre/quota/quota_interface.c