nfsd: Ensure that nfs4_open_delegation() references the delegation stateid
authorTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 30 Jul 2014 01:34:17 +0000 (21:34 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 31 Jul 2014 18:20:11 +0000 (14:20 -0400)
commit67cb1279be27345ba6855c1aab9e90ef5f5ac645
tree95ee523a7fa97da01978ee5ce81f48e1eabe3730
parent858cc57336dd98ca54dff417b55a86aa101f5fb0
nfsd: Ensure that nfs4_open_delegation() references the delegation stateid

Ensure that nfs4_open_delegation() keeps a reference to the delegation
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