]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - fs/ext4/resize.c
ext4: Checksum the block bitmap properly with bigalloc enabled
[karo-tx-linux.git] / fs / ext4 / resize.c
index 0be1789ebc3ba7dd95da8a571e4ee1b073362865..71241bc0eea61419066e062276b1b3cdf590efe7 100644 (file)
@@ -1121,8 +1121,7 @@ static int ext4_set_bitmap_checksums(struct super_block *sb,
        bh = ext4_get_bitmap(sb, group_data->block_bitmap);
        if (!bh)
                return -EIO;
-       ext4_block_bitmap_csum_set(sb, group, gdp, bh,
-                                  EXT4_BLOCKS_PER_GROUP(sb) / 8);
+       ext4_block_bitmap_csum_set(sb, group, gdp, bh);
        brelse(bh);
 
        return 0;