diff options
author | Philipp Reisner <philipp.reisner@linbit.com> | 2011-02-09 04:33:31 -0500 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2011-09-28 04:33:13 -0400 |
commit | 392c8801922f51466045ece2f1f2884b8c9cd9a2 (patch) | |
tree | 610c3e8df33d989257edcb7ba2da0a898661b27d /drivers/block/drbd/drbd_receiver.c | |
parent | 19393e105f9702a014d3ce08bce92b3ad9cf96b5 (diff) |
drbd: drbd_thread has now a pointer to a tconn instead of to a mdev
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'drivers/block/drbd/drbd_receiver.c')
-rw-r--r-- | drivers/block/drbd/drbd_receiver.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/drbd/drbd_receiver.c b/drivers/block/drbd/drbd_receiver.c index f0cd3819fffa..f21b0efff6d8 100644 --- a/drivers/block/drbd/drbd_receiver.c +++ b/drivers/block/drbd/drbd_receiver.c | |||
@@ -4224,7 +4224,7 @@ static int drbd_do_auth(struct drbd_tconn *tconn) | |||
4224 | 4224 | ||
4225 | int drbdd_init(struct drbd_thread *thi) | 4225 | int drbdd_init(struct drbd_thread *thi) |
4226 | { | 4226 | { |
4227 | struct drbd_tconn *tconn = thi->mdev->tconn; | 4227 | struct drbd_tconn *tconn = thi->tconn; |
4228 | int h; | 4228 | int h; |
4229 | 4229 | ||
4230 | conn_info(tconn, "receiver (re)started\n"); | 4230 | conn_info(tconn, "receiver (re)started\n"); |
@@ -4591,7 +4591,7 @@ static int tconn_process_done_ee(struct drbd_tconn *tconn) | |||
4591 | 4591 | ||
4592 | int drbd_asender(struct drbd_thread *thi) | 4592 | int drbd_asender(struct drbd_thread *thi) |
4593 | { | 4593 | { |
4594 | struct drbd_tconn *tconn = thi->mdev->tconn; | 4594 | struct drbd_tconn *tconn = thi->tconn; |
4595 | struct p_header *h = &tconn->meta.rbuf.header; | 4595 | struct p_header *h = &tconn->meta.rbuf.header; |
4596 | struct asender_cmd *cmd = NULL; | 4596 | struct asender_cmd *cmd = NULL; |
4597 | struct packet_info pi; | 4597 | struct packet_info pi; |