diff options
author | Philipp Reisner <philipp.reisner@linbit.com> | 2010-08-20 13:36:10 +0200 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2010-10-14 18:38:23 +0200 |
commit | 0b70a13dac014ec9274640b9e945bde493ba365e (patch) | |
tree | cf771e2f8018c0b59bc14fbf00c5c9cdc9caed7c /drivers/block/drbd/drbd_worker.c | |
parent | drbd: Bugfix for regression introduced with f9bc8913c06022e (diff) | |
download | linux-0b70a13dac014ec9274640b9e945bde493ba365e.tar.xz linux-0b70a13dac014ec9274640b9e945bde493ba365e.zip |
drbd: Sending of big packets, for payloads from 64KByte to 4GByte
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_worker.c')
-rw-r--r-- | drivers/block/drbd/drbd_worker.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/drbd/drbd_worker.c b/drivers/block/drbd/drbd_worker.c index 1eeb55423b3e..3d0e14e3ade3 100644 --- a/drivers/block/drbd/drbd_worker.c +++ b/drivers/block/drbd/drbd_worker.c @@ -1204,7 +1204,7 @@ int w_send_barrier(struct drbd_conf *mdev, struct drbd_work *w, int cancel) * dec_ap_pending will be done in got_BarrierAck * or (on connection loss) in w_clear_epoch. */ ok = _drbd_send_cmd(mdev, mdev->data.socket, P_BARRIER, - (struct p_header *)p, sizeof(*p), 0); + (struct p_header80 *)p, sizeof(*p), 0); drbd_put_data_sock(mdev); return ok; |