Explicitly initialize bio lists. Currently, zeroing the list with kzalloc already does the initialization, bit if we ever switch to another bio list implementation, it could be a problem. Signed-off-by: Mikulas Patocka --- drivers/md/dm-raid1.c | 3 +++ 1 file changed, 3 insertions(+) Index: linux-2.6.31-rc2-devel/drivers/md/dm-raid1.c =================================================================== --- linux-2.6.31-rc2-devel.orig/drivers/md/dm-raid1.c 2009-07-13 15:47:31.000000000 +0200 +++ linux-2.6.31-rc2-devel/drivers/md/dm-raid1.c 2009-07-13 15:48:08.000000000 +0200 @@ -778,6 +778,9 @@ static struct mirror_set *alloc_context( } spin_lock_init(&ms->lock); + bio_list_init(&ms->reads); + bio_list_init(&ms->writes); + bio_list_init(&ms->failures); ms->ti = ti; ms->nr_mirrors = nr_mirrors;