aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorXin Yin <[email protected]>2022-01-10 11:51:41 +0800
committerTheodore Ts'o <[email protected]>2022-02-03 10:56:24 -0500
commit31a074a0c62dc0d2bfb9b543142db4fe27f9e5eb (patch)
tree197eb2ce1cba325e14d9af85990f05087879ff30 /net/lapb/lapb_in.c
parent599ea31d13617c5484c40cdf50d88301dc351cfc (diff)
ext4: modify the logic of ext4_mb_new_blocks_simple
For now in ext4_mb_new_blocks_simple, if we found a block which should be excluded then will switch to next group, this may probably cause 'group' run out of range. Change to check next block in the same group when get a block should be excluded. Also change the search range to EXT4_CLUSTERS_PER_GROUP and add error checking. Signed-off-by: Xin Yin <[email protected]> Reviewed-by: Harshad Shirwadkar <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Theodore Ts'o <[email protected]> Cc: [email protected]
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions