Whamcloud - gitweb
LU-10224 obd: free obd_svc_stats when all users are gone
[fs/lustre-release.git] / lustre / mdc / mdc_request.c
index ba2ce09..5349b11 100644 (file)
@@ -2555,7 +2555,6 @@ err_changelog_cleanup:
        mdc_llog_finish(obd);
 err_llog_cleanup:
        ptlrpc_lprocfs_unregister_obd(obd);
-       lprocfs_obd_cleanup(obd);
        lprocfs_free_md_stats(obd);
 
        osc_cleanup_common(obd);
@@ -2600,7 +2599,6 @@ static int mdc_precleanup(struct obd_device *obd)
 
        obd_cleanup_client_import(obd);
        ptlrpc_lprocfs_unregister_obd(obd);
-       lprocfs_obd_cleanup(obd);
        lprocfs_free_md_stats(obd);
        mdc_llog_finish(obd);
        RETURN(0);