From: tianzy Date: Tue, 30 Jun 2009 06:24:40 +0000 (+0000) Subject: Branch b1_8 X-Git-Tag: v1_8_2_01~1^2~282 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=b2f3e8695b55926b9d5f91271e30a62128c16574;p=fs%2Flustre-release.git Branch b1_8 fix quota spurious message b=19898 i=tianzy i=panda --- diff --git a/lustre/quota/quota_interface.c b/lustre/quota/quota_interface.c index 461eb5a..c941cee 100644 --- a/lustre/quota/quota_interface.c +++ b/lustre/quota/quota_interface.c @@ -436,7 +436,7 @@ static int quota_chk_acq_common(struct obd_device *obd, unsigned int uid, l_wait_event(waitq, 0, &lwi); } - if (rc < 0 || cycle % 10 == 2) { + if (rc < 0 || cycle % 10 == 0) { spin_lock(&last_print_lock); if (last_print == 0 || cfs_time_before((last_print + cfs_time_seconds(30)),