drbd: drbd_adm_prepare(): Only set adm_ctx.connection when a connection is requested
authorAndreas Gruenbacher <agruen@linbit.com>
Wed, 6 Jul 2011 13:05:58 +0000 (15:05 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Mon, 17 Feb 2014 15:46:45 +0000 (16:46 +0100)
commit3ab706fe52a5cc12b021d7861943581db766a171
treef209f0a447cb402be39de73f9a04572e929112b4
parentb6f85ef9538b2111a8ba0bbfae9aaebabfc94961
drbd: drbd_adm_prepare(): Only set adm_ctx.connection when a connection is requested

Also change drbd_adm_connect() to expect a resource after it requested one.

Signed-off-by: Andreas Gruenbacher <agruen@linbit.com>
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
drivers/block/drbd/drbd_nl.c
This page took 0.026804 seconds and 5 git commands to generate.