ntfs3: use folios more in ntfs_compress_write()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 14 May 2025 17:06:03 +0000 (18:06 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Sun, 1 Jun 2025 05:46:07 +0000 (22:46 -0700)
commit80ae99c5727f35d2ed7e011fb0b72c2fe7c5a908
tree6619e2e22476c7235c91fc53c233e03c1198a4e1
parentacc53a0b4c156877773da6e9eea4113dc7e770ae
ntfs3: use folios more in ntfs_compress_write()

Remove the local 'page' variable and do everything in terms of folios.
Removes the last user of copy_page_from_iter_atomic() and a hidden call to
compound_head() in ClearPageDirty().

Link: https://lkml.kernel.org/r/20250514170607.3000994-3-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Hugh Dickins <hughd@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/ntfs3/file.c