aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/drbd/drbd_receiver.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/block/drbd/drbd_receiver.c')
-rw-r--r--drivers/block/drbd/drbd_receiver.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/block/drbd/drbd_receiver.c b/drivers/block/drbd/drbd_receiver.c
index 017eeb745ed9..247a79aec895 100644
--- a/drivers/block/drbd/drbd_receiver.c
+++ b/drivers/block/drbd/drbd_receiver.c
@@ -1106,7 +1106,11 @@ int drbd_submit_ee(struct drbd_conf *mdev, struct drbd_epoch_entry *e,
1106 /* In most cases, we will only need one bio. But in case the lower 1106 /* In most cases, we will only need one bio. But in case the lower
1107 * level restrictions happen to be different at this offset on this 1107 * level restrictions happen to be different at this offset on this
1108 * side than those of the sending peer, we may need to submit the 1108 * side than those of the sending peer, we may need to submit the
1109 * request in more than one bio. */ 1109 * request in more than one bio.
1110 *
1111 * Plain bio_alloc is good enough here, this is no DRBD internally
1112 * generated bio, but a bio allocated on behalf of the peer.
1113 */
1110next_bio: 1114next_bio:
1111 bio = bio_alloc(GFP_NOIO, nr_pages); 1115 bio = bio_alloc(GFP_NOIO, nr_pages);
1112 if (!bio) { 1116 if (!bio) {