diff options
Diffstat (limited to 'mm/backing-dev.c')
-rw-r--r-- | mm/backing-dev.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/backing-dev.c b/mm/backing-dev.c index bfbd7096b6ed..0c6317b7db38 100644 --- a/mm/backing-dev.c +++ b/mm/backing-dev.c | |||
@@ -898,7 +898,7 @@ static atomic_t nr_wb_congested[2]; | |||
898 | void clear_wb_congested(struct bdi_writeback_congested *congested, int sync) | 898 | void clear_wb_congested(struct bdi_writeback_congested *congested, int sync) |
899 | { | 899 | { |
900 | wait_queue_head_t *wqh = &congestion_wqh[sync]; | 900 | wait_queue_head_t *wqh = &congestion_wqh[sync]; |
901 | enum wb_state bit; | 901 | enum wb_congested_state bit; |
902 | 902 | ||
903 | bit = sync ? WB_sync_congested : WB_async_congested; | 903 | bit = sync ? WB_sync_congested : WB_async_congested; |
904 | if (test_and_clear_bit(bit, &congested->state)) | 904 | if (test_and_clear_bit(bit, &congested->state)) |
@@ -911,7 +911,7 @@ EXPORT_SYMBOL(clear_wb_congested); | |||
911 | 911 | ||
912 | void set_wb_congested(struct bdi_writeback_congested *congested, int sync) | 912 | void set_wb_congested(struct bdi_writeback_congested *congested, int sync) |
913 | { | 913 | { |
914 | enum wb_state bit; | 914 | enum wb_congested_state bit; |
915 | 915 | ||
916 | bit = sync ? WB_sync_congested : WB_async_congested; | 916 | bit = sync ? WB_sync_congested : WB_async_congested; |
917 | if (!test_and_set_bit(bit, &congested->state)) | 917 | if (!test_and_set_bit(bit, &congested->state)) |