]> git.ipfire.org Git - people/ms/linux.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Jan 2015 14:59:52 +0000 (06:59 -0800)
commitaf86a8a7cf0eb6f8fc9ca1071a59ae0679b3beee
tree86afb596b19ad69b84e09220cfdee6ca8d2e90e7
parentf1a65401680e9358d27cdb5537aca243c6ee6ad1
drbd: merge_bvec_fn: properly remap bvm->bi_bdev

commit 3b9d35d744bb5139f9fed57f38c019bb8c7d351c upstream.

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

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/block/drbd/drbd_req.c