]> www.infradead.org Git - users/jedix/linux-maple.git/commit
jffs2: Convert jffs2_write_end() to use a folio
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 10 Jul 2024 20:42:35 +0000 (16:42 -0400)
committerChristian Brauner <brauner@kernel.org>
Wed, 7 Aug 2024 09:32:01 +0000 (11:32 +0200)
commitc8dbe54a2e0bf8cb9e7d36cdf16507d0025ef028
tree78815f99aae9d9f6fb5a123b68f8841b9d5ecadc
parent02d8a3227f49f07cd8c2c4f42b4449f657c060c5
jffs2: Convert jffs2_write_end() to use a folio

Convert the passed page to a folio and operate on that.
Replaces six calls to compound_head() with one.
Also use kmap_local instead of kmap.

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