aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/dev_api.c
diff options
context:
space:
mode:
authorKonstantin Komarov <[email protected]>2025-01-30 14:03:41 +0000
committerKonstantin Komarov <[email protected]>2025-02-05 14:48:41 +0000
commitb432163ebd15a0fb74051949cb61456d6c55ccbd (patch)
tree524a562a9dd57a9233c47817d811e479a400ca6a /net/core/dev_api.c
parentfs/ntfs3: Fix WARNING in ntfs_extend_initialized_size (diff)
downloadkernel-b432163ebd15a0fb74051949cb61456d6c55ccbd.tar.gz
kernel-b432163ebd15a0fb74051949cb61456d6c55ccbd.zip
fs/ntfs3: Update inode->i_mapping->a_ops on compression state
Update inode->i_mapping->a_ops when the compression state changes to ensure correct address space operations. Clear ATTR_FLAG_SPARSED/FILE_ATTRIBUTE_SPARSE_FILE when enabling compression to prevent flag conflicts. v2: Additionally, ensure that all dirty pages are flushed and concurrent access to the page cache is blocked. Fixes: 6b39bfaeec44 ("fs/ntfs3: Add support for the compression attribute") Reported-by: Kun Hu <[email protected]>, Jiaji Qin <[email protected]> Signed-off-by: Konstantin Komarov <[email protected]>
Diffstat (limited to 'net/core/dev_api.c')
0 files changed, 0 insertions, 0 deletions