|
@@ -3807,12 +3807,10 @@ nfsd4_delegreturn(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate,
|
|
|
struct nfs4_delegation *dp;
|
|
|
stateid_t *stateid = &dr->dr_stateid;
|
|
|
struct nfs4_stid *s;
|
|
|
- struct inode *inode;
|
|
|
__be32 status;
|
|
|
|
|
|
if ((status = fh_verify(rqstp, &cstate->current_fh, S_IFREG, 0)))
|
|
|
return status;
|
|
|
- inode = cstate->current_fh.fh_dentry->d_inode;
|
|
|
|
|
|
nfs4_lock_state();
|
|
|
status = nfsd4_lookup_stateid(stateid, NFS4_DELEG_STID, &s, cstate->minorversion);
|