We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12d0a24 commit 1990595Copy full SHA for 1990595
fs/erofs/super.c
@@ -954,10 +954,8 @@ static int __init erofs_module_init(void)
954
sizeof(struct erofs_inode), 0,
955
SLAB_RECLAIM_ACCOUNT,
956
erofs_inode_init_once);
957
- if (!erofs_inode_cachep) {
958
- err = -ENOMEM;
959
- goto icache_err;
960
- }
+ if (!erofs_inode_cachep)
+ return -ENOMEM;
961
962
err = erofs_init_shrinker();
963
if (err)
@@ -992,7 +990,6 @@ static int __init erofs_module_init(void)
992
990
erofs_exit_shrinker();
993
991
shrinker_err:
994
kmem_cache_destroy(erofs_inode_cachep);
995
-icache_err:
996
return err;
997
}
998
0 commit comments