Skip to content

Commit

Permalink
cfq: fix recursive call in cfq_blkiocg_update_completion_stats()
Browse files Browse the repository at this point in the history
e98ef89 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>
  • Loading branch information
Jens Axboe committed Jun 21, 2010
1 parent e98ef89 commit 9e495db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion block/cfq.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 9e495db

Please sign in to comment.