nfsd: nfsd4_locku() must reference the lock stateid
authorTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 30 Jul 2014 01:34:16 +0000 (21:34 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 31 Jul 2014 18:20:10 +0000 (14:20 -0400)
commit858cc57336dd98ca54dff417b55a86aa101f5fb0
tree6b98d0520a00279c3c1f3c45b7a5c4296d6e2a64
parent3d0fabd5a48fbf6e7097c17325295ae778137fe3
nfsd: nfsd4_locku() must reference the lock stateid

Ensure that nfsd4_locku() keeps a reference to the lock stateid
until it is done working with it. Necessary step toward client_mutex
removal.

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