]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9658f51b35b40a999e16ebbfe2e5131991590792
tree43641a0781d2b013c671c21e3a29750b00c9acd9
parent039292d692f9ad5a6f01f88ce62606352e44b17d
drbd: Add drbd_thread->resource and make drbd_thread->connection optional

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