summaryrefslogtreecommitdiffstats
path: root/block/cfq.h
diff options
context:
space:
mode:
authorJens Axboe <jaxboe@fusionio.com>2010-06-21 09:10:55 +0200
committerJens Axboe <jaxboe@fusionio.com>2010-06-21 09:10:55 +0200
commit9e495db1a1f931e82c9edccd677dd171be5b85d2 (patch)
tree4f2470127b030df35b10bd0bbedaab586cf38b58 /block/cfq.h
parente98ef89b30b8a2e882b11d4965347015770f3627 (diff)
downloadop-kernel-dev-9e495db1a1f931e82c9edccd677dd171be5b85d2.zip
op-kernel-dev-9e495db1a1f931e82c9edccd677dd171be5b85d2.tar.gz
cfq: fix recursive call in cfq_blkiocg_update_completion_stats()
e98ef89b has a typo, causing cfq_blkiocg_update_completion_stats() to call itself instead of blkiocg_update_completion_stats(). Reported-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'block/cfq.h')
-rw-r--r--block/cfq.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/cfq.h b/block/cfq.h
index 8783318..93448e5 100644
--- a/block/cfq.h
+++ b/block/cfq.h
@@ -63,7 +63,7 @@ static inline void cfq_blkiocg_update_dispatch_stats(struct blkio_group *blkg,
static inline void cfq_blkiocg_update_completion_stats(struct blkio_group *blkg, uint64_t start_time, uint64_t io_start_time, bool direction, bool sync)
{
- cfq_blkiocg_update_completion_stats(blkg, start_time, io_start_time,
+ blkiocg_update_completion_stats(blkg, start_time, io_start_time,
direction, sync);
}
OpenPOWER on IntegriCloud