16 Dec
2025
16 Dec
'25
4:20 p.m.
During page write-back operations, a copy of the imap is stored in wpc->imap. Even if the file's imap mapping changes during this process, the subsequent operations continue to reuse wpc->imap, causing data to be written to incorrect blocks that are not mapped to that file. Brian Foster (2): xfs: update fork seq counter on data fork changes xfs: remove superfluous writeback mapping eof trimming fs/xfs/libxfs/xfs_bmap.c | 11 ----------- fs/xfs/libxfs/xfs_bmap.h | 1 - fs/xfs/libxfs/xfs_iext_tree.c | 13 ++++++------- fs/xfs/libxfs/xfs_inode_fork.h | 2 +- fs/xfs/xfs_aops.c | 15 --------------- 5 files changed, 7 insertions(+), 35 deletions(-) -- 2.39.2