diff options
author | Ritesh Harjani <riteshh@linux.ibm.com> | 2022-02-16 12:32:43 +0530 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2022-02-25 21:34:56 -0500 |
commit | a5c0e2fdf7cea535ba03259894dc184e5a4c2800 (patch) | |
tree | f8552cd090aef87110d077c011ff4cccd43c7752 /fs/ext4/fast_commit.c | |
parent | 2d4429205882817100e5e88870ce0663d30c77af (diff) | |
download | linux-a5c0e2fdf7cea535ba03259894dc184e5a4c2800.tar.gz linux-a5c0e2fdf7cea535ba03259894dc184e5a4c2800.tar.bz2 linux-a5c0e2fdf7cea535ba03259894dc184e5a4c2800.zip |
ext4: correct cluster len and clusters changed accounting in ext4_mb_mark_bb
ext4_mb_mark_bb() currently wrongly calculates cluster len (clen) and
flex_group->free_clusters. This patch fixes that.
Identified based on code review of ext4_mb_mark_bb() function.
Signed-off-by: Ritesh Harjani <riteshh@linux.ibm.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/a0b035d536bafa88110b74456853774b64c8ac40.1644992609.git.riteshh@linux.ibm.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/fast_commit.c')
0 files changed, 0 insertions, 0 deletions