nfsd: Add reference counting to lock stateids
authorTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 30 Jul 2014 01:34:15 +0000 (21:34 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 31 Jul 2014 18:20:09 +0000 (14:20 -0400)
commit3d0fabd5a48fbf6e7097c17325295ae778137fe3
tree3967fd923db2c4d41f12b6467be7c6fa0ca462cf
parent1af71cc8014e78e975ca47929c957228019a579b
nfsd: Add reference counting to lock stateids

Ensure that nfsd4_lock() references the lock stateid while it is
manipulating it. Not currently necessary, but will be once the
client_mutex is removed.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c