From: tianzy Date: Fri, 3 Jul 2009 04:47:09 +0000 (+0000) Subject: Branch HEAD X-Git-Tag: v1_9_220~61 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=dd9e2034e98246dffad1a5915698d996cc3492e8;p=fs%2Flustre-release.git Branch HEAD 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 0f6e7c2..1a8076b 100644 --- a/lustre/quota/quota_interface.c +++ b/lustre/quota/quota_interface.c @@ -478,7 +478,7 @@ static int quota_chk_acq_common(struct obd_device *obd, const unsigned int id[], 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)),