projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4bc7604
)
drbd: conn_try_disconnect(): Use parameter instead of the global variable
author
Andreas Gruenbacher
<agruen@linbit.com>
Tue, 21 Jun 2011 11:58:18 +0000
(13:58 +0200)
committer
Philipp Reisner
<philipp.reisner@linbit.com>
Mon, 17 Feb 2014 15:44:58 +0000
(16:44 +0100)
Signed-off-by: Andreas Gruenbacher <agruen@linbit.com>
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
drivers/block/drbd/drbd_nl.c
patch
|
blob
|
history
diff --git
a/drivers/block/drbd/drbd_nl.c
b/drivers/block/drbd/drbd_nl.c
index cbf745c7bc2f7770f311824de8f47465557aca47..cb241d1d46681d4f4be8572bbf9e0710cc581d5a 100644
(file)
--- a/
drivers/block/drbd/drbd_nl.c
+++ b/
drivers/block/drbd/drbd_nl.c
@@
-2317,7
+2317,7
@@
static enum drbd_state_rv conn_try_disconnect(struct drbd_connection *connection
* The state handling only uses drbd_thread_stop_nowait(),
* we want to really wait here until the receiver is no more.
*/
- drbd_thread_stop(&
adm_ctx.
connection->receiver);
+ drbd_thread_stop(&connection->receiver);
/* Race breaker. This additional state change request may be
* necessary, if this was a forced disconnect during a receiver