aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorJan Kara <[email protected]>2022-09-22 09:09:29 +0000
committerTheodore Ts'o <[email protected]>2022-09-26 17:21:05 +0000
commita078dff870136090b5779ca2831870a6c5539d36 (patch)
tree33d02c3b2b5b18ad68d377b6eb1fbd1c6c2f5702 /fs/jbd2/commit.c
parentext4: limit the number of retries after discarding preallocations blocks (diff)
downloadkernel-a078dff870136090b5779ca2831870a6c5539d36.tar.gz
kernel-a078dff870136090b5779ca2831870a6c5539d36.zip
ext4: fixup possible uninitialized variable access in ext4_mb_choose_next_group_cr1()
Variable 'grp' may be left uninitialized if there's no group with suitable average fragment size (or larger). Fix the problem by initializing it earlier. Link: https://lore.kernel.org/r/20220922091542.pkhedytey7wzp5fi@quack3 Fixes: 83e80a6e3543 ("ext4: use buckets for cr 1 block scan instead of rbtree") Cc: [email protected] Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Jan Kara <[email protected]> Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions