Whamcloud - gitweb
LU-4604 lfsck: LFSCK async updates RPC flow control
[fs/lustre-release.git] / lustre / liblustre / llite_cl.c
index 4f45b6f..0d857fa 100644 (file)
@@ -784,12 +784,7 @@ int cl_sb_fini(struct llu_sb_info *sbi)
                 sbi->ll_site = NULL;
         }
         cl_env_put(env, &refcheck);
-        /*
-         * If mount failed (sbi->ll_cl == NULL), and this there are no other
-         * mounts, stop device types manually (this usually happens
-         * automatically when last device is destroyed).
-         */
-        lu_types_stop();
-        cl_env_cache_purge(~0);
-        RETURN(0);
+       cl_env_cache_purge(~0);
+
+       RETURN(0);
 }