summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfs4proc.c
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2021-01-21 23:57:44 +0100
committerChuck Lever <chuck.lever@oracle.com>2021-01-28 16:55:37 +0100
commit1722b04624806ced51693f546edb83e8b2297a77 (patch)
tree917fa57a83e02a6da69b1f2885ee6550dfd1131a /fs/nfsd/nfs4proc.c
parentnfsd: remove unused set_client argument (diff)
downloadlinux-1722b04624806ced51693f546edb83e8b2297a77.tar.xz
linux-1722b04624806ced51693f546edb83e8b2297a77.zip
nfsd: simplify nfsd4_check_open_reclaim
The set_client() was already taken care of by process_open1(). The comments here are mostly redundant with the code. Signed-off-by: J. Bruce Fields <bfields@redhat.com> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'fs/nfsd/nfs4proc.c')
-rw-r--r--fs/nfsd/nfs4proc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/nfsd/nfs4proc.c b/fs/nfsd/nfs4proc.c
index 8273a99359d1..21d35b0339e6 100644
--- a/fs/nfsd/nfs4proc.c
+++ b/fs/nfsd/nfs4proc.c
@@ -428,8 +428,7 @@ nfsd4_open(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate,
goto out;
break;
case NFS4_OPEN_CLAIM_PREVIOUS:
- status = nfs4_check_open_reclaim(&open->op_clientid,
- cstate, nn);
+ status = nfs4_check_open_reclaim(cstate->clp);
if (status)
goto out;
open->op_openowner->oo_flags |= NFS4_OO_CONFIRMED;