mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-16 18:26:42 +00:00
nfsd4: remove unused nfs4_check_olstateid parameter
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
This commit is contained in:
parent
fdec6114ee
commit
d8836f7724
@ -5112,7 +5112,7 @@ nfs4_find_file(struct nfs4_stid *s, int flags)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static __be32
|
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;
|
__be32 status;
|
||||||
|
|
||||||
@ -5195,7 +5195,7 @@ nfs4_preprocess_stateid_op(struct svc_rqst *rqstp,
|
|||||||
break;
|
break;
|
||||||
case NFS4_OPEN_STID:
|
case NFS4_OPEN_STID:
|
||||||
case NFS4_LOCK_STID:
|
case NFS4_LOCK_STID:
|
||||||
status = nfs4_check_olstateid(fhp, openlockstateid(s), flags);
|
status = nfs4_check_olstateid(openlockstateid(s), flags);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
status = nfserr_bad_stateid;
|
status = nfserr_bad_stateid;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user