]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - block/blk-tag.c
Merge branch 'perf-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[mv-sheeva.git] / block / blk-tag.c
index 2e5cfeb59333ecc088576324f1d6e0e88faf3bed..6b0f52c20964e484c95a2e6c120dc77e2b821b88 100644 (file)
@@ -359,7 +359,7 @@ int blk_queue_start_tag(struct request_queue *q, struct request *rq)
                max_depth -= 2;
                if (!max_depth)
                        max_depth = 1;
-               if (q->in_flight[0] > max_depth)
+               if (q->in_flight[BLK_RW_ASYNC] > max_depth)
                        return 1;
        }