nfsd4: resfh unused in nfsd4_secinfo

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
tirimbino
J. Bruce Fields 9 years ago
parent be99bb1140
commit 0f1738a10b
  1. 2
      fs/nfsd/nfs4proc.c

@ -864,12 +864,10 @@ static __be32
nfsd4_secinfo(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate,
struct nfsd4_secinfo *secinfo)
{
struct svc_fh resfh;
struct svc_export *exp;
struct dentry *dentry;
__be32 err;
fh_init(&resfh, NFS4_FHSIZE);
err = fh_verify(rqstp, &cstate->current_fh, S_IFDIR, NFSD_MAY_EXEC);
if (err)
return err;

Loading…
Cancel
Save