diff options
author | 2023-08-01 22:31:57 +0800 | |
---|---|---|
committer | 2023-08-03 10:47:30 -0400 | |
commit | 919eb90cec4049cecf4a9f996afb0f14e3864fca (patch) | |
tree | 6a703d7c30d004ee6d1d80c00956aa5125f504e2 /tools/perf/scripts/python | |
parent | ext4: avoid potential data overflow in next_linear_group (diff) | |
download | wireguard-linux-919eb90cec4049cecf4a9f996afb0f14e3864fca.tar.xz wireguard-linux-919eb90cec4049cecf4a9f996afb0f14e3864fca.zip |
ext4: return found group directly in ext4_mb_choose_next_group_p2_aligned
Return good group when it's found in loop to remove unnecessary NULL
initialization of grp and futher check if good group is found after loop.
Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com>
Reviewed-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com>
Link: https://lore.kernel.org/r/20230801143204.2284343-4-shikemeng@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions