aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md')
-rw-r--r--drivers/md/raid1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/raid1.c b/drivers/md/raid1.c
index f2247b0cd1a7..274b491a11c1 100644
--- a/drivers/md/raid1.c
+++ b/drivers/md/raid1.c
@@ -586,7 +586,7 @@ static int raid1_congested(void *data, int bits)
586 /* Note the '|| 1' - when read_balance prefers 586 /* Note the '|| 1' - when read_balance prefers
587 * non-congested targets, it can be removed 587 * non-congested targets, it can be removed
588 */ 588 */
589 if ((bits & (1<<BDI_write_congested)) || 1) 589 if ((bits & (1<<BDI_async_congested)) || 1)
590 ret |= bdi_congested(&q->backing_dev_info, bits); 590 ret |= bdi_congested(&q->backing_dev_info, bits);
591 else 591 else
592 ret &= bdi_congested(&q->backing_dev_info, bits); 592 ret &= bdi_congested(&q->backing_dev_info, bits);