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);
}
goto out;
cleanup = 2;
- rc = ll_gns_start_thread();
+ rc = ll_gns_thread_start();
if (rc)
goto out;
+
+ ll_capa_timer.function = ll_capa_timer_callback;
+ ll_capa_timer.data = 0;
+ init_timer(&ll_capa_timer);
+
+ rc = ll_capa_thread_start();
+ if (rc)
+ goto out;
+
return 0;
out:
switch (cleanup) {
unregister_filesystem(&lustre_fs_type);
unregister_filesystem(&lustre_lite_fs_type);
- ll_gns_stop_thread();
+ del_timer(&ll_capa_timer);
+ ll_capa_thread_stop();
+ ll_gns_thread_stop();
ll_destroy_inodecache();
LASSERTF(kmem_cache_destroy(ll_file_data_slab) == 0,