drbd: factor out master_bio completion and drbd_request destruction paths
authorLars Ellenberg <lars.ellenberg@linbit.com>
Mon, 26 Mar 2012 15:02:45 +0000 (17:02 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 8 Nov 2012 15:58:23 +0000 (16:58 +0100)
commit6870ca6d463e195cf13589e90f8281648b389909
treefafa0879c6c379be3788222c18e57c9b2f568e2f
parent8d6cdd784818fd8812f185cd6768d09e43e6f71f
drbd: factor out master_bio completion and drbd_request destruction paths

In preparation for multiple connections and reference counting,
separate the code paths for completion of the master bio
and destruction of the request object.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
drivers/block/drbd/drbd_req.c