X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=mm%2Fbacking-dev.c;h=0c6317b7db38a086191a043b5ec480e4f5264e27;hb=a320a1156ac987ae45d2a922f8f7355d67658e83;hp=bfbd7096b6edc3c5e87398e93507cb124661b3ab;hpb=30aab1897b9592ae40123bc83888d23af06261eb;p=deliverable%2Flinux.git 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]; void clear_wb_congested(struct bdi_writeback_congested *congested, int sync) { wait_queue_head_t *wqh = &congestion_wqh[sync]; - enum wb_state bit; + enum wb_congested_state bit; bit = sync ? WB_sync_congested : WB_async_congested; if (test_and_clear_bit(bit, &congested->state)) @@ -911,7 +911,7 @@ EXPORT_SYMBOL(clear_wb_congested); void set_wb_congested(struct bdi_writeback_congested *congested, int sync) { - enum wb_state bit; + enum wb_congested_state bit; bit = sync ? WB_sync_congested : WB_async_congested; if (!test_and_set_bit(bit, &congested->state))