]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ceph: Convert ceph_find_incompatible() to take a folio
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 17 Feb 2025 18:51:11 +0000 (18:51 +0000)
committerChristian Brauner <brauner@kernel.org>
Fri, 28 Feb 2025 10:21:30 +0000 (11:21 +0100)
commitf9707a8b5b9d0a631e0a64eab5c3d2bb6d43758c
tree5872c1b7a643bb3d1080281e8530864afa976924
parent88a59bda3f3786107694a3f5fd7f9df421752c21
ceph: Convert ceph_find_incompatible() to take a folio

Both callers already have the folio.  Pass it in and use it throughout.
Removes some hidden calls to compound_head() and a reference to
page->mapping.

Signed-off-by: "Matthew Wilcox (Oracle)" <willy@infradead.org>
Link: https://lore.kernel.org/r/20250217185119.430193-4-willy@infradead.org
Tested-by: Viacheslav Dubeyko <Slava.Dubeyko@ibm.com>
Reviewed-by: Viacheslav Dubeyko <Slava.Dubeyko@ibm.com>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/ceph/addr.c