diff options
author | Philipp Reisner <philipp.reisner@linbit.com> | 2010-06-18 13:56:57 +0200 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2010-10-14 14:53:42 +0200 |
commit | 47ff2d0a8e7ce87fed180729e8341f650bf585c8 (patch) | |
tree | a8b9fb2f76ebf70090328dba7c57144d8352d9e5 /drivers/block/drbd/drbd_req.c | |
parent | 265be2d09853d425ad14a61cda0ca63345613d0c (diff) | |
download | op-kernel-dev-47ff2d0a8e7ce87fed180729e8341f650bf585c8.zip op-kernel-dev-47ff2d0a8e7ce87fed180729e8341f650bf585c8.tar.gz |
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.c | 2 |
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)) { |