summaryrefslogtreecommitdiffstats
path: root/fs/nfsd
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2018-11-05 20:04:06 -0500
committerJ. Bruce Fields <bfields@redhat.com>2018-11-27 16:24:01 -0500
commitd8836f772422210517fc6b36283fa5f63dd789e8 (patch)
tree84cd13468d05138a0c8dbf099fbb99da0f40b399 /fs/nfsd
parentfdec6114ee1f0f43b1ad081ad8d46b23ba126d70 (diff)
downloadlinux-d8836f772422210517fc6b36283fa5f63dd789e8.tar.gz
linux-d8836f772422210517fc6b36283fa5f63dd789e8.tar.bz2
linux-d8836f772422210517fc6b36283fa5f63dd789e8.zip
nfsd4: remove unused nfs4_check_olstateid parameter
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd')
-rw-r--r--fs/nfsd/nfs4state.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
index f093fbe47133..7dba30b5a3d8 100644
--- a/fs/nfsd/nfs4state.c
+++ b/fs/nfsd/nfs4state.c
@@ -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;