Skip to content

Commit 79ebf48

Browse files
Lu Hongfeitytso
authored andcommitted
ext4: use sbi instead of EXT4_SB(sb) in ext4_mb_new_blocks_simple()
Signed-off-by: Lu Hongfei <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
1 parent 89cadf6 commit 79ebf48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/ext4/mballoc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6092,7 +6092,7 @@ ext4_mb_new_blocks_simple(struct ext4_allocation_request *ar, int *errp)
60926092
ext4_grpblk_t max = EXT4_CLUSTERS_PER_GROUP(sb);
60936093
ext4_grpblk_t i = 0;
60946094
ext4_fsblk_t goal, block;
6095-
struct ext4_super_block *es = EXT4_SB(sb)->s_es;
6095+
struct ext4_super_block *es = sbi->s_es;
60966096

60976097
goal = ar->goal;
60986098
if (goal < le32_to_cpu(es->s_first_data_block) ||

0 commit comments

Comments
 (0)