Skip to content
Commit 0083d27b authored by Tejun Heo's avatar Tejun Heo
Browse files

cgroup: Improve cftype add/rm error handling



Let's track whether a cftype is currently added or not using a new flag
__CFTYPE_ADDED so that duplicate operations can be failed safely and
consistently allow using empty cftypes.

Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent a8c52eba
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment