diff options
author | Konstantin Komarov <almaz.alexandrovich@paragon-software.com> | 2024-06-03 09:58:13 +0300 |
---|---|---|
committer | Konstantin Komarov <almaz.alexandrovich@paragon-software.com> | 2024-06-07 14:31:09 +0300 |
commit | 0f9579d9e0331b6255132ac06bdf2c0a01cceb90 (patch) | |
tree | 7b2c9bbfcb2323f56954d15957bba1a74e80b35e /fs/ntfs3 | |
parent | bc81e773fec1bf83852b3bc6f6ad25125bf26416 (diff) |
fs/ntfs3: Add missing .dirty_folio in address_space_operations
After switching from pages to folio [1], it became evident that
the initialization of .dirty_folio for page cache operations was missed for
compressed files.
[1] https://lore.kernel.org/ntfs3/20240422193203.3534108-1-willy@infradead.org
Fixes: 82cae269cfa95 ("fs/ntfs3: Add initialization of super block")
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Diffstat (limited to 'fs/ntfs3')
-rw-r--r-- | fs/ntfs3/inode.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ntfs3/inode.c b/fs/ntfs3/inode.c index aca697f6b428..e9a83a937a02 100644 --- a/fs/ntfs3/inode.c +++ b/fs/ntfs3/inode.c @@ -2131,5 +2131,6 @@ const struct address_space_operations ntfs_aops = { const struct address_space_operations ntfs_aops_cmpr = { .read_folio = ntfs_read_folio, .readahead = ntfs_readahead, + .dirty_folio = block_dirty_folio, }; // clang-format on |