cfq-iosched: fix broken cfq_ref_get_cfqf() for CONFIG_BLK_CGROUP=y && CFQ_GROUP_IOSCHED=n
authorDmitry Monakhov <dmonakhov@openvz.org>
Wed, 28 Apr 2010 17:50:33 +0000 (19:50 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Wed, 28 Apr 2010 17:51:38 +0000 (19:51 +0200)
commit50eaeb323a170e231263ccb433bb2f99bd9e27ac
tree44965684ed3e5d7469d2038ebbf44e3062367499
parent3f14d792f9a8fede64ce918dbb517f934497a4f8
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: Jens Axboe <jens.axboe@oracle.com>
block/cfq-iosched.c