block: change the tag sync vs async restriction logic
[deliverable/linux.git] / block / blk-core.c
index 49065075d4622b4f53392bf4c4cca65c6c7374d3..1c748403882915470df51ba0d639f881e8933b44 100644 (file)
@@ -1815,7 +1815,7 @@ void blk_dequeue_request(struct request *rq)
         * the driver side.
         */
        if (blk_account_rq(rq))
-               q->in_flight++;
+               q->in_flight[rq_is_sync(rq)]++;
 }
 
 /**
This page took 0.036895 seconds and 5 git commands to generate.