Commit e756414f authored by Philipp Reisner's avatar Philipp Reisner

drbd: Initialize all members of sync_conf to their defaults [Bugz 315]

Signed-off-by: default avatarPhilipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: default avatarLars Ellenberg <lars.ellenberg@linbit.com>
parent 67098930
...@@ -2689,7 +2689,8 @@ static void drbd_set_defaults(struct drbd_conf *mdev) ...@@ -2689,7 +2689,8 @@ static void drbd_set_defaults(struct drbd_conf *mdev)
/* .verify_alg = */ {}, 0, /* .verify_alg = */ {}, 0,
/* .cpu_mask = */ {}, 0, /* .cpu_mask = */ {}, 0,
/* .csums_alg = */ {}, 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 /* Have to use that way, because the layout differs between
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment