From: fanyong Date: Thu, 30 Aug 2007 03:15:47 +0000 (+0000) Subject: Miss "ptlrpc_lprocfs_unregister_obd" when mdc_cleanup. X-Git-Tag: v1_7_0_51~837 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;ds=sidebyside;h=e58d88563c9706cc20e3a579f1096f0d58917e7a;p=fs%2Flustre-release.git Miss "ptlrpc_lprocfs_unregister_obd" when mdc_cleanup. b=13222 i=tappro i=ericm --- diff --git a/lustre/mdc/mdc_request.c b/lustre/mdc/mdc_request.c index 6ca08a3..e47f9f8 100644 --- a/lustre/mdc/mdc_request.c +++ b/lustre/mdc/mdc_request.c @@ -1568,6 +1568,7 @@ static int mdc_cleanup(struct obd_device *obd) OBD_FREE(cli->cl_setattr_lock, sizeof (*cli->cl_setattr_lock)); OBD_FREE(cli->cl_close_lock, sizeof (*cli->cl_close_lock)); + ptlrpc_lprocfs_unregister_obd(obd); lprocfs_obd_cleanup(obd); ptlrpcd_decref();