aboutsummaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorJens Axboe <jaxboe@fusionio.com>2010-06-21 03:10:55 -0400
committerJens Axboe <jaxboe@fusionio.com>2010-06-21 03:10:55 -0400
commit9e495db1a1f931e82c9edccd677dd171be5b85d2 (patch)
tree4f2470127b030df35b10bd0bbedaab586cf38b58 /block
parente98ef89b30b8a2e882b11d4965347015770f3627 (diff)
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')
-rw-r--r--block/cfq.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/cfq.h b/block/cfq.h
index 8783318dc5be..93448e5a2e41 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,
63 63
64static inline void cfq_blkiocg_update_completion_stats(struct blkio_group *blkg, uint64_t start_time, uint64_t io_start_time, bool direction, bool sync) 64static inline void cfq_blkiocg_update_completion_stats(struct blkio_group *blkg, uint64_t start_time, uint64_t io_start_time, bool direction, bool sync)
65{ 65{
66 cfq_blkiocg_update_completion_stats(blkg, start_time, io_start_time, 66 blkiocg_update_completion_stats(blkg, start_time, io_start_time,
67 direction, sync); 67 direction, sync);
68} 68}
69 69