diff options
Diffstat (limited to 'fs')
-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 64e1c21eb5d2..8175318abd84 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c | |||
@@ -1623,8 +1623,10 @@ static int ext4_check_descriptors(struct super_block *sb) | |||
1623 | "Checksum for group %lu failed (%u!=%u)\n", | 1623 | "Checksum for group %lu failed (%u!=%u)\n", |
1624 | i, le16_to_cpu(ext4_group_desc_csum(sbi, i, | 1624 | i, le16_to_cpu(ext4_group_desc_csum(sbi, i, |
1625 | gdp)), le16_to_cpu(gdp->bg_checksum)); | 1625 | gdp)), le16_to_cpu(gdp->bg_checksum)); |
1626 | if (!(sb->s_flags & MS_RDONLY)) | 1626 | if (!(sb->s_flags & MS_RDONLY)) { |
1627 | spin_unlock(sb_bgl_lock(sbi, i)); | ||
1627 | return 0; | 1628 | return 0; |
1629 | } | ||
1628 | } | 1630 | } |
1629 | spin_unlock(sb_bgl_lock(sbi, i)); | 1631 | spin_unlock(sb_bgl_lock(sbi, i)); |
1630 | if (!flexbg_flag) | 1632 | if (!flexbg_flag) |