nfs: Use a folio in nfs_get_link()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 14 May 2025 17:13:13 +0000 (18:13 +0100)
committerChristian Brauner <brauner@kernel.org>
Thu, 15 May 2025 10:14:29 +0000 (12:14 +0200)
commitcc8e87f312e0d3715d2f5121dff53918a6d6da5f
treecfd5a17ed75bfe11e554f95f57aceac91e77c93d
parent5f152cc012f42e19d40088039c07eec3736b0705
nfs: Use a folio in nfs_get_link()

Mirror the changes to __page_get_link() by retrieving a folio from
the page cache instead of a page.  Removes two hidden calls to
compound_head().

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