aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block
diff options
context:
space:
mode:
authorPhilipp Reisner <philipp.reisner@linbit.com>2010-06-29 11:35:34 -0400
committerPhilipp Reisner <philipp.reisner@linbit.com>2010-10-14 09:12:07 -0400
commite756414f7daa93b862f1670dd0a6aaa676ea71e3 (patch)
tree7c20a61d7483db6279279bbeadd245420b810a1d /drivers/block
parent6709893059105d7859ae772af70c7db5bbab7de0 (diff)
drbd: Initialize all members of sync_conf to their defaults [Bugz 315]
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_main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/block/drbd/drbd_main.c b/drivers/block/drbd/drbd_main.c
index c6658f5a5c1c..410d3d4f361e 100644
--- a/drivers/block/drbd/drbd_main.c
+++ b/drivers/block/drbd/drbd_main.c
@@ -2689,7 +2689,8 @@ static void drbd_set_defaults(struct drbd_conf *mdev)
2689 /* .verify_alg = */ {}, 0, 2689 /* .verify_alg = */ {}, 0,
2690 /* .cpu_mask = */ {}, 0, 2690 /* .cpu_mask = */ {}, 0,
2691 /* .csums_alg = */ {}, 0, 2691 /* .csums_alg = */ {}, 0,
2692 /* .use_rle = */ 0 2692 /* .use_rle = */ 0,
2693 /* .on_no_data = */ DRBD_ON_NO_DATA_DEF
2693 }; 2694 };
2694 2695
2695 /* Have to use that way, because the layout differs between 2696 /* Have to use that way, because the layout differs between