cfq-iosched: Fix a memory leak of per cpu stats for root group
authorVivek Goyal <vgoyal@redhat.com>
Mon, 23 May 2011 08:02:19 +0000 (10:02 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Mon, 23 May 2011 08:02:19 +0000 (10:02 +0200)
commit2abae55f5a41d29f21b5b259c33d218c950d5c90
tree69169fa89fb25fcf7521999d7fca91664262bfc7
parent345227d705f2318e9bc088e79fe71a38bb5fe82b
cfq-iosched: Fix a memory leak of per cpu stats for root group

We allocated per cpu stats struct for root group but did not free it.
Fix it.

Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
block/cfq-iosched.c