diff options
-rw-r--r-- | fs/ext4/super.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c index 0423e2e7f615..3ab798d00f02 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c | |||
@@ -5285,8 +5285,10 @@ static int __init ext4_init_fs(void) | |||
5285 | if (err) | 5285 | if (err) |
5286 | goto out6; | 5286 | goto out6; |
5287 | ext4_kset = kset_create_and_add("ext4", NULL, fs_kobj); | 5287 | ext4_kset = kset_create_and_add("ext4", NULL, fs_kobj); |
5288 | if (!ext4_kset) | 5288 | if (!ext4_kset) { |
5289 | err = -ENOMEM; | ||
5289 | goto out5; | 5290 | goto out5; |
5291 | } | ||
5290 | ext4_proc_root = proc_mkdir("fs/ext4", NULL); | 5292 | ext4_proc_root = proc_mkdir("fs/ext4", NULL); |
5291 | 5293 | ||
5292 | err = ext4_init_feat_adverts(); | 5294 | err = ext4_init_feat_adverts(); |