isofs: Convert rock_ridge_symlink_read_folio to use a folio
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 30 May 2024 20:20:58 +0000 (21:20 +0100)
committerChristian Brauner <brauner@kernel.org>
Fri, 31 May 2024 10:31:40 +0000 (12:31 +0200)
commit4df37c5f0882b211694598ff1fa1c69ccd0c1320
tree894daaca494f4dd19ca6ec8d836acee28b6464ec
parent4c59e914ef1a39d7a20d58723ceeff31e50e7292
isofs: Convert rock_ridge_symlink_read_folio to use a folio

Remove the conversion back into a page and use the folio APIs throughout.
Remove the setting of PG_error instead of converting it; it is unused
by core code or by the rest of isofs, so it serves no purpose here.
Use folio_end_read() to save an atomic operation and unify the two
exit paths.

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