]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - fs/nfs/nfs3proc.c
Merge tag 'ntb-5.3' of git://github.com/jonmason/ntb
[linux.git] / fs / nfs / nfs3proc.c
index 71bc16225b9817ece6719a687c2c7c18d4ca81ef..a3ad2d46fd42af31e3ffca3258e7c7960584d720 100644 (file)
@@ -607,7 +607,7 @@ nfs3_proc_rmdir(struct inode *dir, const struct qstr *name)
  * readdirplus.
  */
 static int
-nfs3_proc_readdir(struct dentry *dentry, struct rpc_cred *cred,
+nfs3_proc_readdir(struct dentry *dentry, const struct cred *cred,
                  u64 cookie, struct page **pages, unsigned int count, bool plus)
 {
        struct inode            *dir = d_inode(dentry);
@@ -628,7 +628,7 @@ nfs3_proc_readdir(struct dentry *dentry, struct rpc_cred *cred,
                .rpc_proc       = &nfs3_procedures[NFS3PROC_READDIR],
                .rpc_argp       = &arg,
                .rpc_resp       = &res,
-               .rpc_cred       = cred
+               .rpc_cred       = cred,
        };
        int status = -ENOMEM;