From b2f3e8695b55926b9d5f91271e30a62128c16574 Mon Sep 17 00:00:00 2001 From: tianzy Date: Tue, 30 Jun 2009 06:24:40 +0000 Subject: [PATCH] Branch b1_8 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 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)), -- 1.8.3.1