commit | b4b2aeccf0f0fa1fd356cc72eeda7a2c66c39904 | [log] [tgz] |
---|---|---|
author | Josef Bacik <jbacik@fb.com> | Fri Jul 21 10:48:14 2017 -0400 |
committer | Jens Axboe <axboe@kernel.dk> | Sat Jul 22 11:12:31 2017 -0600 |
tree | 3148eaac6a1f1c885aba52de7271caec8bf2b5fc | |
parent | 2e13456fb3d3e5f462dc1e59efc04eb62df35566 [diff] |
nbd: take tx_lock before disconnecting We need to take the tx_lock so we don't interleave our disconnect request between real data going down the wire. Signed-off-by: Josef Bacik <jbacik@fb.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>