aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/drbd/drbd_worker.c
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@linbit.com>2011-03-30 06:54:42 -0400
committerPhilipp Reisner <philipp.reisner@linbit.com>2012-11-08 10:45:09 -0500
commite658983af6e62304be785cd6b0ae756723057395 (patch)
tree6dd2e2c85c704fb353d02feeb25cfc44613405e1 /drivers/block/drbd/drbd_worker.c
parent50d0b1ad78b99aa776c3ddf9b1d45163fff435b9 (diff)
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.c2
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)
1229 sock = &mdev->tconn->data; 1229 sock = &mdev->tconn->data;
1230 if (!drbd_prepare_command(mdev, sock)) 1230 if (!drbd_prepare_command(mdev, sock))
1231 return -EIO; 1231 return -EIO;
1232 return drbd_send_command(mdev, sock, P_UNPLUG_REMOTE, sizeof(struct p_header), NULL, 0); 1232 return drbd_send_command(mdev, sock, P_UNPLUG_REMOTE, 0, NULL, 0);
1233} 1233}
1234 1234
1235int w_send_out_of_sync(struct drbd_work *w, int cancel) 1235int w_send_out_of_sync(struct drbd_work *w, int cancel)