diff options
Diffstat (limited to 'fs/nfsd/nfs4state.c')
-rw-r--r-- | fs/nfsd/nfs4state.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c index 7ab572f9f388..0b4351f8238a 100644 --- a/fs/nfsd/nfs4state.c +++ b/fs/nfsd/nfs4state.c | |||
@@ -3421,11 +3421,9 @@ static inline void | |||
3421 | nfs4_set_lock_denied(struct file_lock *fl, struct nfsd4_lock_denied *deny) | 3421 | nfs4_set_lock_denied(struct file_lock *fl, struct nfsd4_lock_denied *deny) |
3422 | { | 3422 | { |
3423 | struct nfs4_stateowner *sop; | 3423 | struct nfs4_stateowner *sop; |
3424 | unsigned int hval; | ||
3425 | 3424 | ||
3426 | if (fl->fl_lmops == &nfsd_posix_mng_ops) { | 3425 | if (fl->fl_lmops == &nfsd_posix_mng_ops) { |
3427 | sop = (struct nfs4_stateowner *) fl->fl_owner; | 3426 | sop = (struct nfs4_stateowner *) fl->fl_owner; |
3428 | hval = lockownerid_hashval(sop->so_id); | ||
3429 | kref_get(&sop->so_ref); | 3427 | kref_get(&sop->so_ref); |
3430 | deny->ld_sop = sop; | 3428 | deny->ld_sop = sop; |
3431 | deny->ld_clientid = sop->so_client->cl_clientid; | 3429 | deny->ld_clientid = sop->so_client->cl_clientid; |