diff options
author | Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> | 2015-08-11 19:22:22 -0300 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2015-08-17 16:22:19 -0500 |
commit | 356344c4c36dc960f90a3457dd67fe2efcf92417 (patch) | |
tree | 8bb6e9a73b6fd1d1ae0182341ccad4f6aa2e29ec /fs/dlm | |
parent | 0d737a8cfd8341d6ba8215443a3ddfe5ddd4e51a (diff) | |
download | lwn-356344c4c36dc960f90a3457dd67fe2efcf92417.tar.gz lwn-356344c4c36dc960f90a3457dd67fe2efcf92417.zip |
dlm: fix not reconnecting on connecting error handling
If we don't clear that bit, lowcomms_connect_sock() will not schedule
another attempt, and no further attempt will be done.
Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/dlm')
-rw-r--r-- | fs/dlm/lowcomms.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/dlm/lowcomms.c b/fs/dlm/lowcomms.c index 749deb3b69b2..54a0031067de 100644 --- a/fs/dlm/lowcomms.c +++ b/fs/dlm/lowcomms.c @@ -1253,6 +1253,7 @@ out_err: con->retries, result); mutex_unlock(&con->sock_mutex); msleep(1000); + clear_bit(CF_CONNECT_PENDING, &con->flags); lowcomms_connect_sock(con); return; } |