aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/inode.c')
-rw-r--r--fs/nfs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/inode.c b/fs/nfs/inode.c
index c49f6d8b42d2..15f787355d27 100644
--- a/fs/nfs/inode.c
+++ b/fs/nfs/inode.c
@@ -613,7 +613,7 @@ int nfs_open(struct inode *inode, struct file *filp)
613 struct nfs_open_context *ctx; 613 struct nfs_open_context *ctx;
614 struct rpc_cred *cred; 614 struct rpc_cred *cred;
615 615
616 cred = rpcauth_lookupcred(NFS_CLIENT(inode)->cl_auth, 0); 616 cred = rpc_lookup_cred();
617 if (IS_ERR(cred)) 617 if (IS_ERR(cred))
618 return PTR_ERR(cred); 618 return PTR_ERR(cred);
619 ctx = alloc_nfs_open_context(filp->f_path.mnt, filp->f_path.dentry, cred); 619 ctx = alloc_nfs_open_context(filp->f_path.mnt, filp->f_path.dentry, cred);