drbd: Add drbd_thread->resource and make drbd_thread->connection optional
authorAndreas Gruenbacher <agruen@linbit.com>
Thu, 21 Jul 2011 11:45:21 +0000 (13:45 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Mon, 17 Feb 2014 15:50:48 +0000 (16:50 +0100)
In the drbd_thread "infrastructure" functions, only use the resource instead of
the connection.  Make the connection field of drbd_thread optional.  This will
allow to introduce threads which are not associated with a connection.

Signed-off-by: Andreas Gruenbacher <agruen@linbit.com>
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
drivers/block/drbd/drbd_int.h
drivers/block/drbd/drbd_main.c

Simple merge
Simple merge