Commit e0b58526 authored by majianpeng's avatar majianpeng Committed by Greg Kroah-Hartman
Browse files

cfq-iosched: free cic_index if blkio_alloc_blkg_stats fails



commit 2984ff38 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: default avatarmajianpeng <majianpeng@gmail.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent c8653449
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment