diff options
| author | Kemeng Shi <[email protected]> | 2023-08-26 17:47:11 +0000 |
|---|---|---|
| committer | Theodore Ts'o <[email protected]> | 2023-10-06 02:32:15 +0000 |
| commit | 350bb48b84b8f4ad4ea179dbb97f568d12626188 (patch) | |
| tree | c469f4f21f5a839076e55839b4d3e3d5a968519d /fs/ext4/fast_commit.c | |
| parent | ext4: simplify the gdbblock calculation in add_new_gdb_meta_bg (diff) | |
| download | kernel-350bb48b84b8f4ad4ea179dbb97f568d12626188.tar.gz kernel-350bb48b84b8f4ad4ea179dbb97f568d12626188.zip | |
ext4: remove unnecessary check to avoid repeat update_backups for the same gdb
The sbi->s_group_desc contains array of bh's for block group descriptors
and continuous EXT4_DESC_PER_BLOCK(sb) bg descriptors in single block
share the same bh.
Simply call update_backups for each gdb_bh in sbi->s_group_desc will not
update same group descriptors block for multiple times.
Commit 0acdb8876fead ("ext4: don't call update_backups() multiple times for
the same bg") wrongly assumed each block group descriptor in the same block
has a individual bh and unnecessary check was added.
Signed-off-by: Kemeng Shi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'fs/ext4/fast_commit.c')
0 files changed, 0 insertions, 0 deletions
