diff options
author | Philipp Reisner <philipp.reisner@linbit.com> | 2010-06-29 17:35:34 +0200 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2010-10-14 15:12:07 +0200 |
commit | e756414f7daa93b862f1670dd0a6aaa676ea71e3 (patch) | |
tree | 7c20a61d7483db6279279bbeadd245420b810a1d /drivers/block/drbd/drbd_main.c | |
parent | 6709893059105d7859ae772af70c7db5bbab7de0 (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/drbd/drbd_main.c')
-rw-r--r-- | drivers/block/drbd/drbd_main.c | 3 |
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) /* .verify_alg = */ {}, 0, /* .cpu_mask = */ {}, 0, /* .csums_alg = */ {}, 0, - /* .use_rle = */ 0 + /* .use_rle = */ 0, + /* .on_no_data = */ DRBD_ON_NO_DATA_DEF }; /* Have to use that way, because the layout differs between |