summaryrefslogtreecommitdiffstats
path: root/block/blk-merge.c
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2009-10-13 12:29:45 +0200
committerJens Axboe <jens.axboe@oracle.com>2009-10-13 12:29:45 +0200
commitc30f33437c3f85ec48353a1ef811e148217a2aaf (patch)
treed5a0ca1e8d091a30fece2e9aeed285225c026049 /block/blk-merge.c
parent132cc538cd90f60a0b5df6a512dfd4bc5fe2039a (diff)
parent2ec24ff1d1875defa742c76c9c7d74dca06b7e1f (diff)
downloadop-kernel-dev-c30f33437c3f85ec48353a1ef811e148217a2aaf.zip
op-kernel-dev-c30f33437c3f85ec48353a1ef811e148217a2aaf.tar.gz
Merge branch 'for-linus' into for-2.6.33
Diffstat (limited to 'block/blk-merge.c')
-rw-r--r--block/blk-merge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-merge.c b/block/blk-merge.c
index b0de857..99cb5cf 100644
--- a/block/blk-merge.c
+++ b/block/blk-merge.c
@@ -351,7 +351,7 @@ static void blk_account_io_merge(struct request *req)
part = disk_map_sector_rcu(req->rq_disk, blk_rq_pos(req));
part_round_stats(cpu, part);
- part_dec_in_flight(part);
+ part_dec_in_flight(part, rq_data_dir(req));
part_stat_unlock();
}
OpenPOWER on IntegriCloud