Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9e495db1 authored by Jens Axboe's avatar Jens Axboe
Browse files

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: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarJens Axboe <jaxboe@fusionio.com>
parent e98ef89b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
}