libfs: Convert simple_write_begin and simple_write_end to use a folio
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 21 Aug 2023 14:13:22 +0000 (15:13 +0100)
committerChristian Brauner <brauner@kernel.org>
Mon, 21 Aug 2023 15:23:57 +0000 (17:23 +0200)
commit5522d9f7b2e6d21dfa361cc498719b7f5e736b57
tree1bba97d4f369a90ec926c07665fdee26415b0e13
parent8c8e7dba1032c6054540ab6f59ce3f3b9f3c6105
libfs: Convert simple_write_begin and simple_write_end to use a folio

Remove a number of implicit calls to compound_head() and various calls
to compatibility functions.  This is not sufficient to enable support
for large folios; generic_perform_write() must be converted first.

Signed-off-by: "Matthew Wilcox (Oracle)" <willy@infradead.org>
Message-Id: <20230821141322.2535459-1-willy@infradead.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/libfs.c