]> git.baikalelectronics.ru Git - kernel.git/commit
drbd: Replace vnr_to_mdev() with conn_peer_device()
authorAndreas Gruenbacher <agruen@linbit.com>
Tue, 9 Aug 2011 01:54:55 +0000 (03:54 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Mon, 17 Feb 2014 15:49:37 +0000 (16:49 +0100)
commit377037cb49f6678023bfc782da0b5b812626c28d
treefd8e66f729ba3a2127a4ddba0d776717f540c14c
parent2f83c6084a05f44ec9da87d2c077f2f49d342f8b
drbd: Replace vnr_to_mdev() with conn_peer_device()

The new function returns a peer device, which allows us to eliminate a few
instances of first_peer_device().

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_receiver.c