diff --git a/block/cfq-iosched.c b/block/cfq-iosched.c index 286008cf889ed2f4d00ff391ec3a66e269dfcf46..0f3eb70f9ce192bd3554c05e2efc29d6c11eeb1c 100644 --- a/block/cfq-iosched.c +++ b/block/cfq-iosched.c @@ -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