projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
316d315
)
block: use proper BLK_RW_ASYNC in blk_queue_start_tag()
author
Jens Axboe
<jens.axboe@oracle.com>
Tue, 6 Oct 2009 18:19:02 +0000
(20:19 +0200)
committer
Jens Axboe
<jens.axboe@oracle.com>
Tue, 6 Oct 2009 18:19:02 +0000
(20:19 +0200)
Makes it easier to read than the 0.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/blk-tag.c
patch
|
blob
|
history
diff --git
a/block/blk-tag.c
b/block/blk-tag.c
index
2e5cfeb
..
6b0f52c
100644
(file)
--- 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)
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;
}