summaryrefslogtreecommitdiff
path: root/drivers/block/drbd/drbd_req.c
diff options
context:
space:
mode:
authorPhilipp Reisner <philipp.reisner@linbit.com>2010-06-18 11:56:57 (GMT)
committerPhilipp Reisner <philipp.reisner@linbit.com>2010-10-14 12:53:42 (GMT)
commit47ff2d0a8e7ce87fed180729e8341f650bf585c8 (patch)
treea8b9fb2f76ebf70090328dba7c57144d8352d9e5 /drivers/block/drbd/drbd_req.c
parent265be2d09853d425ad14a61cda0ca63345613d0c (diff)
downloadlinux-fsl-qoriq-47ff2d0a8e7ce87fed180729e8341f650bf585c8.tar.xz
drbd: Do not allow a fencing-policy of resource-and-stonith with protocol A
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 8259d4f..fbe0278 100644
--- a/drivers/block/drbd/drbd_req.c
+++ b/drivers/block/drbd/drbd_req.c
@@ -660,7 +660,7 @@ int __req_mod(struct drbd_request *req, enum drbd_req_event what,
case resend:
/* If RQ_NET_OK is already set, we got a P_WRITE_ACK or P_RECV_ACK
- before the connection loss; only P_BARRIER_ACK was missing.
+ before the connection loss (B&C only); only P_BARRIER_ACK was missing.
Trowing them out of the TL here by pretending we got a BARRIER_ACK
TODO: Either resync them, or ensure peer was not rebooted. */
if (!(req->rq_state & RQ_NET_OK)) {