Whamcloud - gitweb
src needs to be in the options list if it is going to be available for use.
[fs/lustre-release.git] / lustre / llite / super25.c
index e758f21..2408595 100644 (file)
@@ -101,6 +101,7 @@ void ll_destroy_inodecache(void)
 static void ll_umount_lustre(struct super_block *sb)
 {
         struct ll_sb_info *sbi = ll_s2sbi(sb);
+        sbi->ll_flags |= LL_SBI_UMOUNT;
         ll_gns_check_mounts(sbi, LL_GNS_UMOUNT);
 }
 
@@ -175,7 +176,7 @@ static int __init init_lustre_lite(void)
                 goto out;
         cleanup = 2;
 
-        rc = ll_gns_start_thread();
+        rc = ll_gns_thread_start();
         if (rc)
                 goto out;
 
@@ -183,7 +184,7 @@ static int __init init_lustre_lite(void)
         ll_capa_timer.data = 0;
         init_timer(&ll_capa_timer);        
 
-        rc = ll_capa_start_thread();
+        rc = ll_capa_thread_start();
         if (rc)
                 goto out;
 
@@ -206,8 +207,8 @@ static void __exit exit_lustre_lite(void)
         unregister_filesystem(&lustre_lite_fs_type);
 
         del_timer(&ll_capa_timer);
-        ll_capa_stop_thread();
-        ll_gns_stop_thread();
+        ll_capa_thread_stop();
+        ll_gns_thread_stop();
         ll_destroy_inodecache();
         
         LASSERTF(kmem_cache_destroy(ll_file_data_slab) == 0,