Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ext4: do not polute the extents cache while shifting extents
Inside ext4_ext_shift_extents() function ext4_find_extent() is called without EXT4_EX_NOCACHE flag, which should prevent cache population. This leads to oudated offsets in the extents tree and wrong blocks afterwards. Patch fixes the problem providing EXT4_EX_NOCACHE flag for each ext4_find_extents() call inside ext4_ext_shift_extents function. Fixes: 331573f Signed-off-by: Roman Pen <[email protected]> Signed-off-by: Theodore Ts'o <[email protected]> Cc: Namjae Jeon <[email protected]> Cc: Andreas Dilger <[email protected]> Cc: [email protected]
- Loading branch information