aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorKemeng Shi <[email protected]>2023-02-21 19:59:13 +0800
committerTheodore Ts'o <[email protected]>2023-03-23 23:00:07 -0400
commitb5aa06bfe9ad13c75d425839ee2aca045e3c688c (patch)
treee58d802c6bbc331a2cc89beb0601263700e3224a /tools/perf/scripts/python/bin/stackcollapse-report
parent98ccceee3e0637a37e20c1c12a08173663db77e7 (diff)
ext4: properly handle error of ext4_init_block_bitmap in ext4_read_block_bitmap_nowait
We mark buffer_head of bitmap successfully initialized even error occurs in ext4_init_block_bitmap. Although we will return error, we will get a invalid buffer_head of bitmap from next ext4_read_block_bitmap_nowait which is marked buffer_verified but not successfully initialized actually in previous ext4_read_block_bitmap_nowait. Fix this by only marking buffer_head successfully initialized if ext4_init_block_bitmap successes. 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 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions