]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
nfsd4: resfh unused in nfsd4_secinfo
authorJ. Bruce Fields <bfields@redhat.com>
Wed, 2 Mar 2016 23:26:36 +0000 (15:26 -0800)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 2 Mar 2016 23:26:36 +0000 (15:26 -0800)
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4proc.c

index 4cba7865f4966b825e3d47c7d423fdb8ca11a262..410516e9867f06a30d2690774acf72eee6e88329 100644 (file)
@@ -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;