mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-18 19:12:56 +00:00
ext4: iterate over buffer heads correctly in move_extent_per_page()
commit6ffe77bad5upstream. In commitbcff24887d("ext4: don't read blocks from disk after extents being swapped") bh is not updated correctly in the for loop and wrong data has been written to disk. generic/324 catches this on sub-page block size ext4. Fixes:bcff24887d("ext4: don't read blocks from disk after extentsbeing swapped") Signed-off-by: Eryu Guan <guaneryu@gmail.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu> Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
This commit is contained in:
parent
40180f6f74
commit
d0ba59c19f
1 changed files with 1 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue