]> www.infradead.org Git - users/jedix/linux-maple.git/commit
cfq-iosched: free cic_index if blkio_alloc_blkg_stats fails
authormajianpeng <majianpeng@gmail.com>
Wed, 30 Nov 2011 14:47:48 +0000 (15:47 +0100)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Tue, 10 Jan 2012 21:00:27 +0000 (13:00 -0800)
commit525969d25a343f565e0d9b748cc01ef892f87736
treec829749032dc01b631f68642a0ad199c453e1245
parent54aa671ddc2c7c7a66b4d80b0c1508ec06c54832
cfq-iosched: free cic_index if blkio_alloc_blkg_stats fails

commit 2984ff38ccf6cbc02a7a996a36c7d6f69f3c6146 upstream.

If we fail allocating the blkpg stats, we free cfqd and cfgq.
But we need to free the IDA cfqd->cic_index as well.

Signed-off-by: majianpeng <majianpeng@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
block/cfq-iosched.c