aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block
diff options
context:
space:
mode:
authorPhilipp Reisner <philipp.reisner@linbit.com>2010-10-05 11:19:39 +0200
committerPhilipp Reisner <philipp.reisner@linbit.com>2010-10-14 18:38:42 +0200
commit00b425377d60e67e86721d4ce6d7cbf131a5d0fd (patch)
tree7e815cbdc90ebd1c801157f707e1e278a739ed68 /drivers/block
parentf65363cfa05fe60874030461a0eeb84b7e60cba4 (diff)
downloadkernel_samsung_crespo-00b425377d60e67e86721d4ce6d7cbf131a5d0fd.zip
kernel_samsung_crespo-00b425377d60e67e86721d4ce6d7cbf131a5d0fd.tar.gz
kernel_samsung_crespo-00b425377d60e67e86721d4ce6d7cbf131a5d0fd.tar.bz2
drbd: Allow larger values for c-fill-target.
Connections through a compressing proxy might have more bits on the fly. 500MByte instead of 50MByte Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'drivers/block')
-rw-r--r--drivers/block/drbd/drbd_int.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/drbd/drbd_int.h b/drivers/block/drbd/drbd_int.h
index ff7fffa..1680939 100644
--- a/drivers/block/drbd/drbd_int.h
+++ b/drivers/block/drbd/drbd_int.h
@@ -348,7 +348,7 @@ struct p_header80 {
struct p_header95 {
u16 magic; /* use DRBD_MAGIC_BIG here */
u16 command;
- u32 length;
+ u32 length; /* Use only 24 bits of that. Ignore the highest 8 bit. */
u8 payload[0];
} __packed;