]> www.infradead.org Git - users/jedix/linux-maple.git/commit
jffs2: Convert jffs2_write_begin() to use a folio
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 11 Jul 2024 20:58:06 +0000 (16:58 -0400)
committerChristian Brauner <brauner@kernel.org>
Wed, 7 Aug 2024 09:32:01 +0000 (11:32 +0200)
commit0ee818cc42fc313b480e2e29ebe7b0dc14ccc156
tree737ce71fde3bc38e54433d4db54ed045d319c9aa
parentc8dbe54a2e0bf8cb9e7d36cdf16507d0025ef028
jffs2: Convert jffs2_write_begin() to use a folio

Fetch a folio from the page cache instead of a page and use it throughout
removing several calls to compound_head().  We still have to convert
back to a page for calling internal jffs2 functions, but hopefully they
will be converted soon.

Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/jffs2/file.c