summaryrefslogtreecommitdiffstats
path: root/fs/nfs/write.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/write.c')
-rw-r--r--fs/nfs/write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/write.c b/fs/nfs/write.c
index c1452f838131..76f33df51fbb 100644
--- a/fs/nfs/write.c
+++ b/fs/nfs/write.c
@@ -1249,7 +1249,7 @@ bool nfs_ctx_key_to_expire(struct nfs_open_context *ctx, struct inode *inode)
1249 struct rpc_auth *auth = NFS_SERVER(inode)->client->cl_auth; 1249 struct rpc_auth *auth = NFS_SERVER(inode)->client->cl_auth;
1250 struct rpc_cred *cred = ctx->ll_cred; 1250 struct rpc_cred *cred = ctx->ll_cred;
1251 struct auth_cred acred = { 1251 struct auth_cred acred = {
1252 .cred = ctx->cred->cr_cred, 1252 .cred = ctx->cred,
1253 }; 1253 };
1254 1254
1255 if (cred && !cred->cr_ops->crmatch(&acred, cred, 0)) { 1255 if (cred && !cred->cr_ops->crmatch(&acred, cred, 0)) {