drbd: report net config even for resources without a single volume
authorLars Ellenberg <lars.ellenberg@linbit.com>
Mon, 11 Jul 2011 21:49:55 +0000 (23:49 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 8 Nov 2012 15:57:53 +0000 (16:57 +0100)
commit367d675da8fa0041e0f336ecf940992837cc4c50
tree7084013a470df12bae9fada5e8b7f752414bddf7
parente0e1665381a519fd1f588948b1c48b5e609e336d
drbd: report net config even for resources without a single volume

Currently it is legal (though unusual) to create and connect a resource,
before adding in all necessary volumes. We should include the network
configuration details, even if we don't have a single volume (yet).

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
drivers/block/drbd/drbd_nl.c