mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-13 07:31:07 +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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
eef1195bb6
commit
fa5613b1f3
1 changed files with 1 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue