Whamcloud - gitweb
Branch b1_8
authortianzy <tianzy>
Thu, 4 Jun 2009 07:26:53 +0000 (07:26 +0000)
committertianzy <tianzy>
Thu, 4 Jun 2009 07:26:53 +0000 (07:26 +0000)
fix a fake mem leak
b=18574
i=johann

lustre/lvfs/fsfilt_ext3.c

index 4f624d9..35cacb6 100644 (file)
@@ -2061,7 +2061,7 @@ static int fsfilt_ext3_quotacheck(struct super_block *sb,
                                 cqget(sb, qctxt->qckt_hash, &qctxt->qckt_list,
                                       dqid->di_id, i,
                                       qctxt->qckt_first_check[i]);
-                        kfree(dqid);
+                        OBD_FREE_PTR(dqid);
                 }
         }
 #endif