Commit 0f1738a1 authored by J. Bruce Fields's avatar J. Bruce Fields

nfsd4: resfh unused in nfsd4_secinfo

Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
parent be99bb11
...@@ -864,12 +864,10 @@ static __be32 ...@@ -864,12 +864,10 @@ static __be32
nfsd4_secinfo(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, nfsd4_secinfo(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate,
struct nfsd4_secinfo *secinfo) struct nfsd4_secinfo *secinfo)
{ {
struct svc_fh resfh;
struct svc_export *exp; struct svc_export *exp;
struct dentry *dentry; struct dentry *dentry;
__be32 err; __be32 err;
fh_init(&resfh, NFS4_FHSIZE);
err = fh_verify(rqstp, &cstate->current_fh, S_IFDIR, NFSD_MAY_EXEC); err = fh_verify(rqstp, &cstate->current_fh, S_IFDIR, NFSD_MAY_EXEC);
if (err) if (err)
return err; return err;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment