projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d737a8
)
dlm: fix not reconnecting on connecting error handling
author
Marcelo Ricardo Leitner
<marcelo.leitner@gmail.com>
Tue, 11 Aug 2015 22:22:22 +0000
(19:22 -0300)
committer
David Teigland
<teigland@redhat.com>
Mon, 17 Aug 2015 21:22:19 +0000
(16:22 -0500)
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>
fs/dlm/lowcomms.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/dlm/lowcomms.c
b/fs/dlm/lowcomms.c
index 749deb3b69b2932fb18e7ae70c06e4ced15bd9b6..54a0031067de3ae6d3cd0106d7b9d4e30c956cfd 100644
(file)
--- 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;
}