Skip to content

Commit

Permalink
drbd: Initialize all members of sync_conf to their defaults [Bugz 315]
Browse files Browse the repository at this point in the history
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
  • Loading branch information
Philipp Reisner committed Oct 14, 2010
1 parent 6709893 commit e756414
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/block/drbd/drbd_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e756414

Please sign in to comment.