From f4e443f3ff8fef5eab23cb1c89b0cfef2d43d336 Mon Sep 17 00:00:00 2001 From: Wei Yongjun Date: Thu, 18 Oct 2012 22:44:21 +0800 Subject: [PATCH] --- yaml --- r: 347625 b: refs/heads/master c: 01f6c8fd949f3a25a2617e6e1579a5c974b1cabf h: refs/heads/master i: 347623: 5c96db0c18cd17fa9fe856b111526576e771c82a v: v3 --- [refs] | 2 +- trunk/fs/nfsd/nfs4state.c | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 273cc4280f34..5adfca0aed38 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 216b6cbdcbd86b1db0754d58886b466ae31f5a63 +refs/heads/master: 01f6c8fd949f3a25a2617e6e1579a5c974b1cabf diff --git a/trunk/fs/nfsd/nfs4state.c b/trunk/fs/nfsd/nfs4state.c index d0237f872cc4..620ff8143751 100644 --- a/trunk/fs/nfsd/nfs4state.c +++ b/trunk/fs/nfsd/nfs4state.c @@ -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);