The first patch is the V2 of [PATCH] blkcg: check pol->cpd_free_fn before free cpd, it fixs a checking before free cpd. The second patch add some wrappers for struct blkcg_policy->xxx_fn, because not every block cgroup policy implement all operations. weiping zhang (2): blkcg: check pol->cpd_free_fn before free cpd blkcg: add wrappers for struct blkcg_policy operations block/blk-cgroup.c | 57 +++++++++++++++++------------------- include/linux/blk-cgroup.h | 72 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 99 insertions(+), 30 deletions(-) -- 2.9.4