nfsd4: simplify bind_conn_to_session locking
authorJ. Bruce Fields <bfields@redhat.com>
Mon, 18 Mar 2013 21:31:30 +0000 (17:31 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 3 Apr 2013 15:48:39 +0000 (11:48 -0400)
The locking here is very fiddly, and there's no reason for us to be
setting cstate->session, since this is the only op in the compound.
Let's just take the state lock and drop the reference counting.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>

No differences found