ANDROID: Export cgroup function to allow module to remove control files
Export cgroup_rm_cftypes to allow module to remove cgroup control files when exit, otherwise undefined behavior may occur. Bug: 340297716 Change-Id: Ieda8a8ab155aeb71e0f20fdfb5068ac24465061f Signed-off-by: Jianan Huang <huangjianan@xiaomi.com> (cherry picked from commit 800f7297b5d0b17f00ad09e345513c4ba30d77d2)
This commit is contained in:
committed by
Treehugger Robot
parent
f2c750c9f8
commit
e8da2c8c48
@@ -4467,6 +4467,7 @@ int cgroup_rm_cftypes(struct cftype *cfts)
|
||||
cgroup_unlock();
|
||||
return 0;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(cgroup_rm_cftypes);
|
||||
|
||||
/**
|
||||
* cgroup_add_cftypes - add an array of cftypes to a subsystem
|
||||
|
||||
Reference in New Issue
Block a user