romfs: Convert romfs_read_folio() to use a folio
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 30 May 2024 20:21:04 +0000 (21:21 +0100)
committerChristian Brauner <brauner@kernel.org>
Fri, 31 May 2024 10:31:42 +0000 (12:31 +0200)
commitd86f2de026c57e1503259f39abdfa1659c51d900
treed76ad14ad3df2ee7fae2791a0b3e61b599332ad0
parentf4c51473d22a9c2847f5dde401cd15f29cee6708
romfs: Convert romfs_read_folio() to use a folio

Remove the conversion back to struct page and use the folio APIs instead
of the page APIs.  It's probably more trouble than it's worth to support
large folios in romfs, so there are still PAGE_SIZE assumptions in
this function.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Link: https://lore.kernel.org/r/20240530202110.2653630-13-willy@infradead.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/romfs/super.c