cgroup add cftype->open/release() callbacks
authorTejun Heo <tj@kernel.org>
Tue, 27 Dec 2016 19:49:03 +0000 (14:49 -0500)
committerTejun Heo <tj@kernel.org>
Tue, 27 Dec 2016 19:49:03 +0000 (14:49 -0500)
commite90cbebc3fa5caea4c8bfeb0d0157a0cee53efc7
tree86c2bdab65cfde9766a6779979bd3836e71bdd74
parent0e67db2f9fe91937e798e3d7d22c50a8438187e1
cgroup add cftype->open/release() callbacks

Pipe the newly added kernfs->open/release() callbacks through cftype.
While at it, as cleanup operations now can be performed from
->release() instead of ->seq_stop(), make the latter optional.

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Acked-by: Zefan Li <lizefan@huawei.com>
include/linux/cgroup-defs.h
kernel/cgroup.c