if (!exp)
RETURN(-EINVAL);
- rc = mds_client_free(&exp->exp_mds_data);
- if (rc)
- CERROR("error freeing client data: rc = %d\n", rc);
-
rc = class_disconnect(conn);
if (!rc)
MOD_DEC_USE_COUNT;
rc = mds_recover(obddev);
if (rc)
GOTO(err_thread, rc);
+
+ mds_destroy_export = mds_client_free;
RETURN(0);