fs: Convert __page_get_link() to use a folio
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 14 May 2025 17:13:12 +0000 (18:13 +0100)
committerChristian Brauner <brauner@kernel.org>
Thu, 15 May 2025 10:14:29 +0000 (12:14 +0200)
commit5f152cc012f42e19d40088039c07eec3736b0705
tree7d150bc08aa3f9734fd5300425c223fe83d44277
parent4fae90d04a58cd9882c5158b6b1d22d0cf544fc0
fs: Convert __page_get_link() to use a folio

Retrieve a folio from the page cache instead of a page and operate
on it.  Removes two hidden calls to compound_head().

Signed-off-by: "Matthew Wilcox (Oracle)" <willy@infradead.org>
Link: https://lore.kernel.org/20250514171316.3002934-2-willy@infradead.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/namei.c