X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fobdclass%2Fclass_obd.c;h=135d18888230b013176b8fa489fd607b4f95c0fb;hb=fab404836d9eff7cfe61dc280a7854608894f645;hp=f0c611827aebbae45b91465bd5730754d9b0cf2b;hpb=f1c8ac1156ebea2b8e94a75f056c403973bb9010;p=fs%2Flustre-release.git diff --git a/lustre/obdclass/class_obd.c b/lustre/obdclass/class_obd.c index f0c6118..135d188 100644 --- a/lustre/obdclass/class_obd.c +++ b/lustre/obdclass/class_obd.c @@ -747,14 +747,6 @@ static int __init obdclass_init(void) err = lu_ucred_global_init(); if (err != 0) goto cleanup_dt_global; - - err = lustre_tgt_register_fs(); - if (err && err != -EBUSY) { - /* Don't fail if server code also registers "lustre_tgt" */ - CERROR("obdclass: register fstype 'lustre_tgt' failed: rc = %d\n", - err); - goto cleanup_lu_ucred_global; - } #endif /* HAVE_SERVER_SUPPORT */ /* simulate a late OOM situation now to require all @@ -769,10 +761,6 @@ static int __init obdclass_init(void) cleanup_all: #ifdef HAVE_SERVER_SUPPORT - /* fake error but filesystem has been registered */ - lustre_tgt_unregister_fs(); - -cleanup_lu_ucred_global: lu_ucred_global_fini(); cleanup_dt_global: @@ -849,7 +837,6 @@ static void __exit obdclass_exit(void) misc_deregister(&obd_psdev); #ifdef HAVE_SERVER_SUPPORT - lustre_tgt_unregister_fs(); lu_ucred_global_fini(); dt_global_fini(); #endif /* HAVE_SERVER_SUPPORT */