diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2022-04-14 19:57:53 +0200 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2022-04-26 13:16:38 -0500 |
commit | 8d45185cb76fa1dd7c3309940a967dc42d8619d4 (patch) | |
tree | 667ab9cad90917d8fae73a39c738e630b362dda8 /chardev | |
parent | ee19d953ecff53908a645d38a1b913fdf15a72f4 (diff) |
nbd: code motion and function renaming
Prepare for the next patch, so that the diff is less confusing.
nbd_client_connecting is moved closer to the definition point.
nbd_client_connecting_wait() is kept only for the reconnection
logic; when it is used to check if a request has to be reissued,
use the renamed function nbd_client_will_reconnect(). In the
next patch, the two cases will have different locking requirements.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20220414175756.671165-7-pbonzini@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@openvz.org>
Reviewed-by: Lukas Straub <lukasstraub2@web.de>
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'chardev')
0 files changed, 0 insertions, 0 deletions