diff options
Diffstat (limited to 'drivers/md/raid1.c')
-rw-r--r-- | drivers/md/raid1.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/md/raid1.c b/drivers/md/raid1.c index 46677d7d9980..00c78b77b13d 100644 --- a/drivers/md/raid1.c +++ b/drivers/md/raid1.c | |||
@@ -1526,8 +1526,7 @@ static void raid1d(mddev_t *mddev) | |||
1526 | blk_remove_plug(mddev->queue); | 1526 | blk_remove_plug(mddev->queue); |
1527 | spin_unlock_irqrestore(&conf->device_lock, flags); | 1527 | spin_unlock_irqrestore(&conf->device_lock, flags); |
1528 | /* flush any pending bitmap writes to disk before proceeding w/ I/O */ | 1528 | /* flush any pending bitmap writes to disk before proceeding w/ I/O */ |
1529 | if (bitmap_unplug(mddev->bitmap) != 0) | 1529 | bitmap_unplug(mddev->bitmap); |
1530 | printk("%s: bitmap file write failed!\n", mdname(mddev)); | ||
1531 | 1530 | ||
1532 | while (bio) { /* submit pending writes */ | 1531 | while (bio) { /* submit pending writes */ |
1533 | struct bio *next = bio->bi_next; | 1532 | struct bio *next = bio->bi_next; |