drbd: Replace conn_get_by_name() with drbd_find_resource()
authorAndreas Gruenbacher <agruen@linbit.com>
Mon, 13 Jun 2011 12:27:45 +0000 (14:27 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Mon, 17 Feb 2014 15:44:57 +0000 (16:44 +0100)
commit4bc760488c1e9c65c9f6dea1ae8a7b94b9eaebe1
tree3ce56e7e187fac5571d825a00df163572ed71f92
parent803ea1348e412a1e35cfbb891f4514b74e7af460
drbd: Replace conn_get_by_name() with drbd_find_resource()

So far, connections and resources always come in pairs, but in the future with
multiple connections per resource, the names will stick with the resources.

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
drivers/block/drbd/drbd_nl.c