summaryrefslogtreecommitdiffstats
path: root/block/blk-tag.c
diff options
context:
space:
mode:
authorJens Axboe2009-10-13 12:29:45 +0200
committerJens Axboe2009-10-13 12:29:45 +0200
commitc30f33437c3f85ec48353a1ef811e148217a2aaf (patch)
treed5a0ca1e8d091a30fece2e9aeed285225c026049 /block/blk-tag.c
parentdrbd: needs __ratelimit() (diff)
parentcciss: Add cciss_allow_hpsa module parameter (diff)
downloadkernel-qcow2-linux-c30f33437c3f85ec48353a1ef811e148217a2aaf.tar.gz
kernel-qcow2-linux-c30f33437c3f85ec48353a1ef811e148217a2aaf.tar.xz
kernel-qcow2-linux-c30f33437c3f85ec48353a1ef811e148217a2aaf.zip
Merge branch 'for-linus' into for-2.6.33
Diffstat (limited to 'block/blk-tag.c')
-rw-r--r--block/blk-tag.c2
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)
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;
}