]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
orangefs: Convert orangefs_writepage_locked() to take a folio
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 5 Mar 2025 20:47:29 +0000 (20:47 +0000)
committerChristian Brauner <brauner@kernel.org>
Thu, 6 Mar 2025 08:26:06 +0000 (09:26 +0100)
commit40eca026bbaa4216dcabeda4f304f7d3d5247209
tree351471f167552bc0fedabc0f310bc899303856e1
parent506382dbbedc04a12a35404b6c2c486a828f1278
orangefs: Convert orangefs_writepage_locked() to take a folio

Both callers have a folio, pass it in and use it inside
orangefs_writepage_locked().  Removes a few hidden calls to
compound_head() and accesses to page->mapping.

Signed-off-by: "Matthew Wilcox (Oracle)" <willy@infradead.org>
Link: https://lore.kernel.org/r/20250305204734.1475264-6-willy@infradead.org
Tested-by: Mike Marshall <hubcap@omnibond.com>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/orangefs/inode.c