summaryrefslogtreecommitdiffstats
path: root/block
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
parentcfq-iosched: Fixed boot warning with BLK_CGROUP=y and CFQ_GROUP_IOSCHED=n (diff)
downloadlinux-9e495db1a1f931e82c9edccd677dd171be5b85d2.tar.xz
linux-9e495db1a1f931e82c9edccd677dd171be5b85d2.zip
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,
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);
}