Whamcloud - gitweb
- fix in mds_cancel_cookie_cb() with freeing lsm.
authoryury <yury>
Wed, 16 Mar 2005 08:05:07 +0000 (08:05 +0000)
committeryury <yury>
Wed, 16 Mar 2005 08:05:07 +0000 (08:05 +0000)
lustre/mds/mds_reint.c

index 6652b0e..de5d014 100644 (file)
@@ -83,9 +83,9 @@ static void mds_cancel_cookies_cb(struct obd_device *obd,
                         CERROR("error cancelling %d log cookies: rc %d\n",
                                (int)(mlcd->mlcd_cookielen /
                                      sizeof(*mlcd->mlcd_cookies)), rc);
+               obd_free_memmd(obd->u.mds.mds_dt_exp, &lsm);
         }
 
-       obd_free_memmd(obd->u.mds.mds_dt_exp, &lsm);
         OBD_FREE(mlcd, mlcd->mlcd_size);
 }