]> git.baikalelectronics.ru Git - kernel.git/commit
blkcg: check pol->cpd_free_fn before free cpd
authorweiping zhang <zhangweiping@didichuxing.com>
Tue, 10 Oct 2017 14:53:46 +0000 (22:53 +0800)
committerJens Axboe <axboe@kernel.dk>
Tue, 10 Oct 2017 15:04:47 +0000 (09:04 -0600)
commite2f21d4d43f320fc081475da73ef401885b050dc
tree286a3dece8b65378b1df55c0bda54f0c14871624
parent00f0948a719912074bed734ad9661f85da04792f
blkcg: check pol->cpd_free_fn before free cpd

check pol->cpd_free_fn() instead of pol->cpd_alloc_fn() when free cpd.

Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: weiping zhang <zhangweiping@didichuxing.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-cgroup.c