summaryrefslogtreecommitdiffstats
path: root/drivers/block/drbd/drbd_receiver.c
diff options
context:
space:
mode:
authorPhilipp Reisner2011-02-09 10:33:31 +0100
committerPhilipp Reisner2011-09-28 10:33:13 +0200
commit392c8801922f51466045ece2f1f2884b8c9cd9a2 (patch)
tree610c3e8df33d989257edcb7ba2da0a898661b27d /drivers/block/drbd/drbd_receiver.c
parentdrbd: Converted drbd_worker() from mdev to tconn (diff)
downloadkernel-qcow2-linux-392c8801922f51466045ece2f1f2884b8c9cd9a2.tar.gz
kernel-qcow2-linux-392c8801922f51466045ece2f1f2884b8c9cd9a2.tar.xz
kernel-qcow2-linux-392c8801922f51466045ece2f1f2884b8c9cd9a2.zip
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.c4
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)
int drbdd_init(struct drbd_thread *thi)
{
- struct drbd_tconn *tconn = thi->mdev->tconn;
+ struct drbd_tconn *tconn = thi->tconn;
int h;
conn_info(tconn, "receiver (re)started\n");
@@ -4591,7 +4591,7 @@ static int tconn_process_done_ee(struct drbd_tconn *tconn)
int drbd_asender(struct drbd_thread *thi)
{
- struct drbd_tconn *tconn = thi->mdev->tconn;
+ struct drbd_tconn *tconn = thi->tconn;
struct p_header *h = &tconn->meta.rbuf.header;
struct asender_cmd *cmd = NULL;
struct packet_info pi;