nfsd: Migrate the stateid reference into nfs4_find_stateid_by_type()
authorTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 30 Jul 2014 01:34:25 +0000 (21:34 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 31 Jul 2014 18:20:17 +0000 (14:20 -0400)
commit2d3f96689ffc757628c6d4038cacaaeb72a03345
treeadfacdc37edda8218faa73c915548988cf364fcd
parentfd9110113c434562c287f222cb4e30befb15ecdd
nfsd: Migrate the stateid reference into nfs4_find_stateid_by_type()

Allow nfs4_find_stateid_by_type to take the stateid reference, while
still holding the &cl->cl_lock. 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