drop iscsi->is_reconnecting

iscsi->is_reconnecting != 0 is equal to iscsi->old_iscsi != NULL.

Signed-off-by: Peter Lieven <pl@kamp.de>
This commit is contained in:
Peter Lieven
2015-04-13 10:13:36 +02:00
parent 63fd8679fa
commit a8b33cefac
4 changed files with 5 additions and 10 deletions

View File

@@ -172,7 +172,7 @@ reconnect_event_loop(struct iscsi_context *iscsi, struct iscsi_sync_state *state
{
struct pollfd pfd;
int ret;
while (iscsi->is_reconnecting) {
while (iscsi->old_iscsi) {
pfd.fd = iscsi_get_fd(iscsi);
pfd.events = iscsi_which_events(iscsi);