nfsd4: remove unused nfs4_check_olstateid parameter
authorJ. Bruce Fields <bfields@redhat.com>
Tue, 6 Nov 2018 01:04:06 +0000 (20:04 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 27 Nov 2018 21:24:01 +0000 (16:24 -0500)
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c

index f093fbe..7dba30b 100644 (file)
@@ -5112,7 +5112,7 @@ nfs4_find_file(struct nfs4_stid *s, int flags)
 }
 
 static __be32
-nfs4_check_olstateid(struct svc_fh *fhp, struct nfs4_ol_stateid *ols, int flags)
+nfs4_check_olstateid(struct nfs4_ol_stateid *ols, int flags)
 {
        __be32 status;
 
@@ -5195,7 +5195,7 @@ nfs4_preprocess_stateid_op(struct svc_rqst *rqstp,
                break;
        case NFS4_OPEN_STID:
        case NFS4_LOCK_STID:
-               status = nfs4_check_olstateid(fhp, openlockstateid(s), flags);
+               status = nfs4_check_olstateid(openlockstateid(s), flags);
                break;
        default:
                status = nfserr_bad_stateid;