diff options
author | Andreas Gruenbacher | 2011-02-17 16:46:59 +0100 |
---|---|---|
committer | Philipp Reisner | 2011-10-14 16:47:36 +0200 |
commit | fcefa62e4c26e70c70b9e8252a4bc9b9031a4182 (patch) | |
tree | b4753bfb7342205687aca576bf424df0131f9747 /drivers/block/drbd/drbd_req.c | |
parent | drbd: Rename drbd_submit_ee -> drbd_submit_peer_request (diff) | |
download | kernel-qcow2-linux-fcefa62e4c26e70c70b9e8252a4bc9b9031a4182.tar.gz kernel-qcow2-linux-fcefa62e4c26e70c70b9e8252a4bc9b9031a4182.tar.xz kernel-qcow2-linux-fcefa62e4c26e70c70b9e8252a4bc9b9031a4182.zip |
drbd: Rename drbd_endio_{pri,sec} -> drbd_{,peer_}request_endio
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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/drbd/drbd_req.c b/drivers/block/drbd/drbd_req.c index 45a543e5c6a9..18eb3d17f174 100644 --- a/drivers/block/drbd/drbd_req.c +++ b/drivers/block/drbd/drbd_req.c @@ -116,7 +116,7 @@ static void _req_is_done(struct drbd_conf *mdev, struct drbd_request *req, const drbd_set_in_sync(mdev, req->i.sector, req->i.size); /* one might be tempted to move the drbd_al_complete_io - * to the local io completion callback drbd_endio_pri. + * to the local io completion callback drbd_request_endio. * but, if this was a mirror write, we may only * drbd_al_complete_io after this is RQ_NET_DONE, * otherwise the extent could be dropped from the al @@ -252,7 +252,7 @@ void _req_may_be_done(struct drbd_request *req, struct bio_and_error *m) * what we need to do here is just: complete the master_bio. * * local completion error, if any, has been stored as ERR_PTR - * in private_bio within drbd_endio_pri. + * in private_bio within drbd_request_endio. */ int ok = (s & RQ_LOCAL_OK) || (s & RQ_NET_OK); int error = PTR_ERR(req->private_bio); |