diff options
| -rw-r--r-- | block/blk-tag.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-tag.c b/block/blk-tag.c index 2e5cfeb59333..6b0f52c20964 100644 --- a/block/blk-tag.c +++ b/block/blk-tag.c | |||
| @@ -359,7 +359,7 @@ int blk_queue_start_tag(struct request_queue *q, struct request *rq) | |||
| 359 | max_depth -= 2; | 359 | max_depth -= 2; |
| 360 | if (!max_depth) | 360 | if (!max_depth) |
| 361 | max_depth = 1; | 361 | max_depth = 1; |
| 362 | if (q->in_flight[0] > max_depth) | 362 | if (q->in_flight[BLK_RW_ASYNC] > max_depth) |
| 363 | return 1; | 363 | return 1; |
| 364 | } | 364 | } |
| 365 | 365 | ||
