diff options
author | Eric Whitney <[email protected]> | 2021-08-19 10:49:27 -0400 |
---|---|---|
committer | Theodore Ts'o <[email protected]> | 2021-09-09 10:52:05 -0400 |
commit | 948ca5f30e1df0c11eb5b0f410b9ceb97fa77ad9 (patch) | |
tree | 25ba4c1cc971df706a881e52b3361da419c7ca38 /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
parent | 0add491df4e5e2c8cc6eeeaa6dbcca50f932090c (diff) |
ext4: enforce buffer head state assertion in ext4_da_map_blocks
Remove the code that re-initializes a buffer head with an invalid block
number and BH_New and BH_Delay bits when a matching delayed and
unwritten block has been found in the extent status cache. Replace it
with assertions that verify the buffer head already has this state
correctly set. The current code masked an inline data truncation bug
that left stale entries in the extent status cache. With this change,
generic/130 can be used to reproduce and detect that bug.
Signed-off-by: Eric Whitney <[email protected]>
Signed-off-by: Theodore Ts'o <[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/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions