]> 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)
commit4c871ef147934c0232b52cf60d796fa95589e117
tree286a3dece8b65378b1df55c0bda54f0c14871624
parent9a51d92d659d10b8e7990dbda65e31b417a096c0
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