Whamcloud - gitweb
a patch of b1_4 and b1_6 is ported to head
authortianzy <tianzy>
Wed, 17 Oct 2007 07:23:08 +0000 (07:23 +0000)
committertianzy <tianzy>
Wed, 17 Oct 2007 07:23:08 +0000 (07:23 +0000)
b=13351
r=green
r=adilger

lustre/obdfilter/filter.c
lustre/quota/quota_master.c

index 2c1d80d..76ba29c 100644 (file)
@@ -3713,8 +3713,8 @@ cleanup:
         rc2 = lquota_adjust(filter_quota_interface_ref, obd, qcids, NULL, rc,
                             FSFILT_OP_UNLINK);
 
-        CDEBUG(rc ? D_ERROR : D_QUOTA,
-               "filter adjust qunit! (rc:%d)\n", rc? rc : rc2);
+        if (rc2)
+                CDEBUG(D_QUOTA, "filter adjust qunit! (rc:%d)\n", rc2);
         return rc;
 }
 
index f007b68..f892107 100644 (file)
@@ -335,7 +335,7 @@ int filter_quota_adjust(struct obd_device *obd, unsigned int qcids[],
         int rc2 = 0;
         ENTRY;
 
-        if (rc && rc != -EDQUOT && rc != ENOLCK)
+        if (rc && rc != -EDQUOT)
                 RETURN(0);
 
         switch (opc) {