diff options
author | Andreas Gruenbacher <agruen@linbit.com> | 2011-03-30 12:54:42 +0200 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2012-11-08 16:45:09 +0100 |
commit | e658983af6e62304be785cd6b0ae756723057395 (patch) | |
tree | 6dd2e2c85c704fb353d02feeb25cfc44613405e1 /drivers/block/drbd/drbd_worker.c | |
parent | 50d0b1ad78b99aa776c3ddf9b1d45163fff435b9 (diff) | |
download | blackbird-op-linux-e658983af6e62304be785cd6b0ae756723057395.tar.gz blackbird-op-linux-e658983af6e62304be785cd6b0ae756723057395.zip |
drbd: Remove headers from on-the-wire data structures (struct p_*)
Prepare the introduction of the protocol 100 headers. The actual protocol
header is removed for the packet declarations. I.e. allow us to use the
packets with different headers.
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 78b95e902aae..086a4b6439a7 100644 --- a/drivers/block/drbd/drbd_worker.c +++ b/drivers/block/drbd/drbd_worker.c @@ -1229,7 +1229,7 @@ int w_send_write_hint(struct drbd_work *w, int cancel) sock = &mdev->tconn->data; if (!drbd_prepare_command(mdev, sock)) return -EIO; - return drbd_send_command(mdev, sock, P_UNPLUG_REMOTE, sizeof(struct p_header), NULL, 0); + return drbd_send_command(mdev, sock, P_UNPLUG_REMOTE, 0, NULL, 0); } int w_send_out_of_sync(struct drbd_work *w, int cancel) |