summaryrefslogtreecommitdiffstats
path: root/drivers/block/drbd/drbd_req.c
diff options
context:
space:
mode:
authorLars Ellenberg <lars.ellenberg@linbit.com>2012-07-17 10:05:04 +0200
committerPhilipp Reisner <philipp.reisner@linbit.com>2012-11-08 16:58:33 +0100
commit9d05e7c4e7069180370ce9c2c121fd6f7810c5a3 (patch)
tree83c9de6f5f47dbeefd0926a1347d44a48f510b29 /drivers/block/drbd/drbd_req.c
parent629663c94242cfcff45abed61a019304ab85420c (diff)
downloadblackbird-op-linux-9d05e7c4e7069180370ce9c2c121fd6f7810c5a3.tar.gz
blackbird-op-linux-9d05e7c4e7069180370ce9c2c121fd6f7810c5a3.zip
drbd: rename drbd_restart_write to drbd_restart_request
Meanwhile, this is used to restart failed READ requests as well. 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_req.c')
-rw-r--r--drivers/block/drbd/drbd_req.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/drbd/drbd_req.c b/drivers/block/drbd/drbd_req.c
index a3617f338269..34e791dfaf81 100644
--- a/drivers/block/drbd/drbd_req.c
+++ b/drivers/block/drbd/drbd_req.c
@@ -144,7 +144,7 @@ static void _req_is_done(struct drbd_conf *mdev, struct drbd_request *req, const
}
if (s & RQ_POSTPONED)
- drbd_restart_write(req);
+ drbd_restart_request(req);
else
drbd_req_free(req);
}
OpenPOWER on IntegriCloud