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: NJosef Bacik <jbacik@fb.com> Signed-off-by: NJens Axboe <axboe@kernel.dk>
Showing
想要评论请 注册 或 登录