cfq-iosched: Get rid of st->active
authorGui Jianfeng <guijianfeng@cn.fujitsu.com>
Tue, 30 Nov 2010 19:52:46 +0000 (20:52 +0100)
committerJens Axboe <jaxboe@fusionio.com>
Tue, 30 Nov 2010 19:52:46 +0000 (20:52 +0100)
commitb54ce60eb7f61f8e314b8b241b0469eda3bb1d42
treefcf25315bb0ef06ad7f9017f84fce9021768682f
parentf30195c50245d8ace628e1978b1daa8df86e7224
cfq-iosched: Get rid of st->active

When a cfq group is running, it won't be dequeued from service tree, so
there's no need to store the active one in st->active. Just gid rid of it.

Signed-off-by: Gui Jianfeng <guijianfeng@cn.fujitsu.com>
Acked-by: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
block/cfq-iosched.c