From: Jens Axboe Date: Mon, 21 Jun 2010 07:10:55 +0000 (+0200) Subject: cfq: fix recursive call in cfq_blkiocg_update_completion_stats() X-Git-Tag: v3.0~4327^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9e495db1a1f931e82c9edccd677dd171be5b85d2;p=platform%2Fkernel%2Flinux-amlogic.git 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 Signed-off-by: Jens Axboe --- 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); }