X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fosp%2Fosp_dev.c;h=9a66737bc033d838435b22fa0f9863c16df0b315;hp=b2db05e2311ee4f76eb4a4519202fb29bda9f602;hb=f4547f0569774eb794fb143362e201f658415f4c;hpb=bc962bde3b109b99c924137ed281d9400637e295 diff --git a/lustre/osp/osp_dev.c b/lustre/osp/osp_dev.c index b2db05e..9a66737 100644 --- a/lustre/osp/osp_dev.c +++ b/lustre/osp/osp_dev.c @@ -733,7 +733,7 @@ out_last_used: out_proc: ptlrpc_lprocfs_unregister_obd(obd); lprocfs_obd_cleanup(obd); - class_destroy_import(obd->u.cli.cl_import); + obd_cleanup_client_import(obd); client_obd_cleanup(obd); out_ref: ptlrpcd_decref();