From dd9e2034e98246dffad1a5915698d996cc3492e8 Mon Sep 17 00:00:00 2001 From: tianzy Date: Fri, 3 Jul 2009 04:47:09 +0000 Subject: [PATCH] Branch HEAD fix quota spurious message b=19898 i=tianzy i=panda --- lustre/quota/quota_interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)), -- 1.8.3.1