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

Commit 50eaeb32 authored by Dmitry Monakhov's avatar Dmitry Monakhov Committed by Jens Axboe
Browse files

cfq-iosched: fix broken cfq_ref_get_cfqf() for CONFIG_BLK_CGROUP=y && CFQ_GROUP_IOSCHED=n



We should return the cfq_group for this case, not NULL.

Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
parent 3f14d792
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1094,7 +1094,7 @@ static struct cfq_group *cfq_get_cfqg(struct cfq_data *cfqd, int create)

static inline struct cfq_group *cfq_ref_get_cfqg(struct cfq_group *cfqg)
{
	return NULL;
	return cfqg;
}

static inline void