summaryrefslogtreecommitdiff
path: root/fs/nfs/symlink.c
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2025-05-14 18:13:14 +0100
committerChristian Brauner <brauner@kernel.org>2025-05-15 12:14:29 +0200
commit4ec373b74e96f92cf273631d31c82ec53727cf02 (patch)
treebf8151863888807d23866c8c56f4c9be329f4283 /fs/nfs/symlink.c
parentcc8e87f312e0d3715d2f5121dff53918a6d6da5f (diff)
fs: Pass a folio to page_put_link()
All callers now have a folio. Pass it to page_put_link(), saving a hidden call to compound_head(). Also add kernel-doc for page_get_link() and page_put_link(). Signed-off-by: "Matthew Wilcox (Oracle)" <willy@infradead.org> Link: https://lore.kernel.org/20250514171316.3002934-4-willy@infradead.org Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/nfs/symlink.c')
-rw-r--r--fs/nfs/symlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/symlink.c b/fs/nfs/symlink.c
index 004a8f6c568e..58146e935402 100644
--- a/fs/nfs/symlink.c
+++ b/fs/nfs/symlink.c
@@ -63,7 +63,7 @@ static const char *nfs_get_link(struct dentry *dentry,
if (IS_ERR(folio))
return ERR_CAST(folio);
}
- set_delayed_call(done, page_put_link, &folio->page);
+ set_delayed_call(done, page_put_link, folio);
return folio_address(folio);
}