aboutsummaryrefslogtreecommitdiffstats
path: root/mm/backing-dev.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/backing-dev.c')
-rw-r--r--mm/backing-dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/backing-dev.c b/mm/backing-dev.c
index 09d9591b7708..1706cbbdf5f0 100644
--- a/mm/backing-dev.c
+++ b/mm/backing-dev.c
@@ -557,7 +557,7 @@ void clear_bdi_congested(struct backing_dev_info *bdi, int sync)
557 bit = sync ? BDI_sync_congested : BDI_async_congested; 557 bit = sync ? BDI_sync_congested : BDI_async_congested;
558 if (test_and_clear_bit(bit, &bdi->state)) 558 if (test_and_clear_bit(bit, &bdi->state))
559 atomic_dec(&nr_bdi_congested[sync]); 559 atomic_dec(&nr_bdi_congested[sync]);
560 smp_mb__after_clear_bit(); 560 smp_mb__after_atomic();
561 if (waitqueue_active(wqh)) 561 if (waitqueue_active(wqh))
562 wake_up(wqh); 562 wake_up(wqh);
563} 563}