diff options
author | Kemeng Shi <shikemeng@huaweicloud.com> | 2023-02-21 23:30:24 +0300 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2023-03-24 06:00:08 +0300 |
commit | b83acc77718644b2c19832226ca284ce01efc550 (patch) | |
tree | 57793dde4088fe5c505c752c49a56f3987ec9601 /fs/ext4/ialloc.c | |
parent | 68e294dcccf965c93d65c4660547794728a4cff0 (diff) | |
download | linux-b83acc77718644b2c19832226ca284ce01efc550.tar.xz |
ext4: remove unused group parameter in ext4_inode_bitmap_csum_verify
Remove unused group parameter in ext4_inode_bitmap_csum_verify.
Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20230221203027.2359920-2-shikemeng@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/ialloc.c')
-rw-r--r-- | fs/ext4/ialloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/ialloc.c b/fs/ext4/ialloc.c index 157663031f8c..908228064f5c 100644 --- a/fs/ext4/ialloc.c +++ b/fs/ext4/ialloc.c @@ -98,7 +98,7 @@ static int ext4_validate_inode_bitmap(struct super_block *sb, if (buffer_verified(bh)) goto verified; blk = ext4_inode_bitmap(sb, desc); - if (!ext4_inode_bitmap_csum_verify(sb, block_group, desc, bh, + if (!ext4_inode_bitmap_csum_verify(sb, desc, bh, EXT4_INODES_PER_GROUP(sb) / 8) || ext4_simulate_fail(sb, EXT4_SIM_IBITMAP_CRC)) { ext4_unlock_group(sb, block_group); |