[PATCH 01/45] blk-cgroup: fix a hd_struct leak in blkcg_fill_root_iostats

Hannes Reinecke hare at suse.de
Wed Nov 25 01:41:00 EST 2020


On 11/24/20 2:27 PM, Christoph Hellwig wrote:
> disk_get_part needs to be paired with a disk_put_part.
> 
> Fixes: ef45fe470e1 ("blk-cgroup: show global disk stats in root cgroup io.stat")
> Signed-off-by: Christoph Hellwig <hch at lst.de>
> Reviewed-by: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
> Reviewed-by: Jan Kara <jack at suse.cz>
> Reviewed-by: Johannes Thumshirn <johannes.thumshirn at wdc.com>
> Acked-by: Tejun Heo <tj at kernel.org>
> ---
>   block/blk-cgroup.c | 1 +
>   1 file changed, 1 insertion(+)
> 
Reviewed-by: Hannes Reinecke <hare at suse.de>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke                Kernel Storage Architect
hare at suse.de                              +49 911 74053 688
SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), Geschäftsführer: Felix Imendörffer



More information about the linux-mtd mailing list