From: Philipp Reisner Date: Tue, 29 Jun 2010 15:35:34 +0000 (+0200) Subject: drbd: Initialize all members of sync_conf to their defaults [Bugz 315] X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e756414f7daa93b862f1670dd0a6aaa676ea71e3;p=linux-beck.git drbd: Initialize all members of sync_conf to their defaults [Bugz 315] Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg --- 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