nfs: Convert nfs_symlink() to use a folio
[linux-2.6-block.git] / fs / nfs / proc.c
index e3570c656b0f9b27cd4caa08c4ab67350ae13cd3..ad3a321ae997f593184f7d970f95778e83a636e3 100644 (file)
@@ -396,9 +396,10 @@ nfs_proc_link(struct inode *inode, struct inode *dir, const struct qstr *name)
 }
 
 static int
-nfs_proc_symlink(struct inode *dir, struct dentry *dentry, struct page *page,
+nfs_proc_symlink(struct inode *dir, struct dentry *dentry, struct folio *folio,
                 unsigned int len, struct iattr *sattr)
 {
+       struct page *page = &folio->page;
        struct nfs_fh *fh;
        struct nfs_fattr *fattr;
        struct nfs_symlinkargs  arg = {