diff options
Diffstat (limited to 'fs/efs/super.c')
-rw-r--r-- | fs/efs/super.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/efs/super.c b/fs/efs/super.c index e755ec746c69..c6f57a74a559 100644 --- a/fs/efs/super.c +++ b/fs/efs/super.c @@ -33,6 +33,7 @@ static struct file_system_type efs_fs_type = { .kill_sb = kill_block_super, .fs_flags = FS_REQUIRES_DEV, }; +MODULE_ALIAS_FS("efs"); static struct pt_types sgi_pt_types[] = { {0x00, "SGI vh"}, @@ -96,6 +97,11 @@ static int init_inodecache(void) static void destroy_inodecache(void) { + /* + * Make sure all delayed rcu free inodes are flushed before we + * destroy cache. + */ + rcu_barrier(); kmem_cache_destroy(efs_inode_cachep); } |