aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/drbd/drbd_main.c
diff options
context:
space:
mode:
authorLars Ellenberg <lars.ellenberg@linbit.com>2012-01-24 10:49:58 -0500
committerPhilipp Reisner <philipp.reisner@linbit.com>2012-11-08 10:58:35 -0500
commit5df69ece6e93cfd4e09b14bf32bd101df6cbde38 (patch)
tree415a402956088609d20ba15f77015b9c8c073705 /drivers/block/drbd/drbd_main.c
parent5da9c8364443797ece9393670fb7ab69cff055ed (diff)
drbd: __drbd_make_request() is now void
The previous commit causes __drbd_make_request() to always return 0. Change it to void. Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'drivers/block/drbd/drbd_main.c')
-rw-r--r--drivers/block/drbd/drbd_main.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/block/drbd/drbd_main.c b/drivers/block/drbd/drbd_main.c
index 8c6c48e363cd..bedfeeccd513 100644
--- a/drivers/block/drbd/drbd_main.c
+++ b/drivers/block/drbd/drbd_main.c
@@ -2236,9 +2236,8 @@ static void do_retry(struct work_struct *ws)
2236 2236
2237 /* We are not just doing generic_make_request(), 2237 /* We are not just doing generic_make_request(),
2238 * as we want to keep the start_time information. */ 2238 * as we want to keep the start_time information. */
2239 do { 2239 inc_ap_bio(mdev);
2240 inc_ap_bio(mdev); 2240 __drbd_make_request(mdev, bio, start_time);
2241 } while(__drbd_make_request(mdev, bio, start_time));
2242 } 2241 }
2243} 2242}
2244 2243