]> 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)
commitad6458414409b62c2c22e31e02820e5ac910bf63
treefd8e66f729ba3a2127a4ddba0d776717f540c14c
parent2869f9cc6a42d89f27949dc56f5c09c4a032e66b
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