From: tianzy Date: Wed, 17 Oct 2007 07:23:08 +0000 (+0000) Subject: a patch of b1_4 and b1_6 is ported to head X-Git-Tag: v1_7_0_51~613 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=1ed3d8a1fffdcf3304a9826729bb571b63ad5778;p=fs%2Flustre-release.git a patch of b1_4 and b1_6 is ported to head b=13351 r=green r=adilger --- diff --git a/lustre/obdfilter/filter.c b/lustre/obdfilter/filter.c index 2c1d80d..76ba29c 100644 --- a/lustre/obdfilter/filter.c +++ b/lustre/obdfilter/filter.c @@ -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; } diff --git a/lustre/quota/quota_master.c b/lustre/quota/quota_master.c index f007b68..f892107 100644 --- a/lustre/quota/quota_master.c +++ b/lustre/quota/quota_master.c @@ -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) {