1 Index: linux-stage/fs/ext4/super.c
2 ===================================================================
3 --- linux-stage.orig/fs/ext4/super.c
4 +++ linux-stage/fs/ext4/super.c
5 @@ -4097,10 +4097,6 @@ static int ext4_fill_super(struct super_
9 - if (!ext4_check_descriptors(sb, logical_sb_block, &first_not_zeroed)) {
10 - ext4_msg(sb, KERN_ERR, "group descriptors corrupted!");
14 sbi->s_gdb_count = db_count;
15 get_random_bytes(&sbi->s_next_generation, sizeof(u32));
16 @@ -4222,6 +4218,12 @@ static int ext4_fill_super(struct super_
17 sbi->s_journal->j_commit_callback = ext4_journal_commit_callback;
21 + if (!ext4_check_descriptors(sb, logical_sb_block, &first_not_zeroed)) {
22 + ext4_msg(sb, KERN_ERR, "group descriptors corrupted!");
23 + goto failed_mount_wq;
27 * Get the # of file system overhead blocks from the
28 * superblock if present.