Whamcloud - gitweb
Branch b_release_1_8_1
authortianzy <tianzy>
Tue, 30 Jun 2009 06:24:08 +0000 (06:24 +0000)
committertianzy <tianzy>
Tue, 30 Jun 2009 06:24:08 +0000 (06:24 +0000)
fix quota spurious message
b=19898
i=tianzy
i=panda

lustre/quota/quota_interface.c

index 461eb5a..c941cee 100644 (file)
@@ -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)),