]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit9f4fe9ad206028fb77fe8d1b485f81d186df1645
treefd8e66f729ba3a2127a4ddba0d776717f540c14c
parent79a3c8d38cabd1a900340852e527b0a4ce8a459d
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