drbd: merge_bvec_fn: properly remap bvm->bi_bdev
authorLars Ellenberg <lars.ellenberg@linbit.com>
Mon, 10 Nov 2014 16:21:13 +0000 (17:21 +0100)
committerJens Axboe <axboe@fb.com>
Mon, 10 Nov 2014 16:27:39 +0000 (09:27 -0700)
commit3b9d35d744bb5139f9fed57f38c019bb8c7d351c
tree65217f616f9bc73515dfb6c18eb543c90b9ebdb0
parentff8bd88b73fad369a12465dfa52ad5c0bf088ced
drbd: merge_bvec_fn: properly remap bvm->bi_bdev

This was not noticed for many years. Affects operation if
md raid is used a backing device for DRBD.

CC: stable@kernel.org # v3.2+
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/drbd/drbd_req.c