Merge tty-next into 3.6-rc1
[deliverable/linux.git] / drivers / md / raid10.c
index e2549deab7c3a87c9f35c44499fa21e2f9f57b63..de5ed6fd8806c3c3db39bbd894fabb04734b4523 100644 (file)
@@ -2680,8 +2680,7 @@ static void raid10d(struct mddev *mddev)
        blk_start_plug(&plug);
        for (;;) {
 
-               if (atomic_read(&mddev->plug_cnt) == 0)
-                       flush_pending_writes(conf);
+               flush_pending_writes(conf);
 
                spin_lock_irqsave(&conf->device_lock, flags);
                if (list_empty(head)) {
This page took 0.023615 seconds and 5 git commands to generate.