diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2009-10-06 14:19:02 -0400 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-10-06 14:19:02 -0400 |
commit | 1b59dd511b9a36d4be3c01d7c7024aeec36dc651 (patch) | |
tree | 295691e2bb0c0baaea8de2db4c7c38039053f384 /block/blk-tag.c | |
parent | 316d315bffa4026f28085f6b24ebcebede370ac7 (diff) |
block: use proper BLK_RW_ASYNC in blk_queue_start_tag()
Makes it easier to read than the 0.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'block/blk-tag.c')
-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 | ||