diff options
Diffstat (limited to 'drivers/md/dm-raid1.c')
-rw-r--r-- | drivers/md/dm-raid1.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/md/dm-raid1.c b/drivers/md/dm-raid1.c index f8d7b3aa46c6..ad779bd13aec 100644 --- a/drivers/md/dm-raid1.c +++ b/drivers/md/dm-raid1.c | |||
@@ -849,6 +849,10 @@ static struct mirror_set *alloc_context(unsigned int nr_mirrors, | |||
849 | } | 849 | } |
850 | 850 | ||
851 | spin_lock_init(&ms->lock); | 851 | spin_lock_init(&ms->lock); |
852 | bio_list_init(&ms->reads); | ||
853 | bio_list_init(&ms->writes); | ||
854 | bio_list_init(&ms->failures); | ||
855 | bio_list_init(&ms->holds); | ||
852 | 856 | ||
853 | ms->ti = ti; | 857 | ms->ti = ti; |
854 | ms->nr_mirrors = nr_mirrors; | 858 | ms->nr_mirrors = nr_mirrors; |