aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rw-r--r--fs/nfsd/nfs4state.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
index d0237f872cc..620ff814375 100644
--- a/fs/nfsd/nfs4state.c
+++ b/fs/nfsd/nfs4state.c
@@ -3807,12 +3807,10 @@ nfsd4_delegreturn(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate,
3807 struct nfs4_delegation *dp; 3807 struct nfs4_delegation *dp;
3808 stateid_t *stateid = &dr->dr_stateid; 3808 stateid_t *stateid = &dr->dr_stateid;
3809 struct nfs4_stid *s; 3809 struct nfs4_stid *s;
3810 struct inode *inode;
3811 __be32 status; 3810 __be32 status;
3812 3811
3813 if ((status = fh_verify(rqstp, &cstate->current_fh, S_IFREG, 0))) 3812 if ((status = fh_verify(rqstp, &cstate->current_fh, S_IFREG, 0)))
3814 return status; 3813 return status;
3815 inode = cstate->current_fh.fh_dentry->d_inode;
3816 3814
3817 nfs4_lock_state(); 3815 nfs4_lock_state();
3818 status = nfsd4_lookup_stateid(stateid, NFS4_DELEG_STID, &s, cstate->minorversion); 3816 status = nfsd4_lookup_stateid(stateid, NFS4_DELEG_STID, &s, cstate->minorversion);