]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
gfs2: Convert gfs2_jhead_pg_srch() to gfs2_jhead_folio_search()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 10 Feb 2025 13:34:43 +0000 (13:34 +0000)
committerAndreas Gruenbacher <agruenba@redhat.com>
Mon, 10 Mar 2025 17:15:39 +0000 (18:15 +0100)
commite00307e8d4b2853ffd7835d4fdb7d6d8c696d189
tree9bb30d8a666e0ada6a01d86bb0e6d0d56be76733
parente6ff5f2089ebb40422832d9b94cf6e998baa7551
gfs2: Convert gfs2_jhead_pg_srch() to gfs2_jhead_folio_search()

Pass in the folio instead of the page.  Add an assert that this is
not a large folio as we'd need a more complex solution if we wanted to
kmap() each page out of a large folio.  Removes a use of folio->page.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
[agruenba@redhat.com: Rename gfs2_jhead_folio_srch() to gfs2_jhead_folio_search().]
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/lops.c