iomap: Add __iomap_get_folio helper
authorAndreas Gruenbacher <agruenba@redhat.com>
Sun, 15 Jan 2023 16:50:02 +0000 (08:50 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 18 Jan 2023 18:44:05 +0000 (10:44 -0800)
commit07c22b56685dd75ae9c2d41a4cd9f4bbfe93a53a
tree58717382076b25b6cb1abd74cf734aba773a15c2
parent9060bc4d3aca6106bbe72891efba391d9d6b86e7
iomap: Add __iomap_get_folio helper

Add an __iomap_get_folio() helper as the counterpart of the existing
__iomap_put_folio() helper.  Use the new helper in iomap_write_begin().
Not a functional change.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
fs/iomap/buffered-io.c