hugetlbfs: remove unregister_filesystem() when initializing module
[~shefty/rdma-dev.git] / fs / hugetlbfs / inode.c
index ea251749d9d5982e6fc35ecf6d21ab61547962e8..28cf06e4ec8466478ce34db5db271f179dc0d7b5 100644 (file)
@@ -1031,7 +1031,6 @@ static int __init init_hugetlbfs_fs(void)
        }
 
        error = PTR_ERR(vfsmount);
-       unregister_filesystem(&hugetlbfs_fs_type);
 
  out:
        kmem_cache_destroy(hugetlbfs_inode_cachep);