aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorAristeu Rozanski <[email protected]>2012-08-23 16:53:29 -0400
committerTejun Heo <[email protected]>2012-08-24 15:55:33 -0700
commit13af07df9b7e49f1987cf36aa048dc6c49d0f93d (patch)
treeae726e287583d98c6e3f85a31d574e5d48075861 /net/lapb/lapb_iface.c
parent38f38657444d15e1a8574eae80ed3de9f501737a (diff)
cgroup: revise how we re-populate root directory
When remounting cgroupfs with some subsystems added to it and some removed, cgroup will remove all the files in root directory and then re-popluate it. What I'm doing here is, only remove files which belong to subsystems that are to be unbinded, and only create files for newly-added subsystems. The purpose is to have all other files untouched. This is a preparation for cgroup xattr support. v7: - checkpatch warnings fixed v6: - no changes v5: - no changes v4: - refactored cgroup_clear_directory() to not use cgroup_rm_file() - instead of going thru the list of files, get the file list using the subsystems - use 'subsys_mask' instead of {added,removed}_bits and made cgroup_populate_dir() to match the parameters with cgroup_clear_directory() v3: - refresh patches after recent refactoring Original-patch-by: Li Zefan <[email protected]> Cc: Li Zefan <[email protected]> Cc: Hugh Dickins <[email protected]> Cc: Hillf Danton <[email protected]> Cc: Lennart Poettering <[email protected]> Signed-off-by: Li Zefan <[email protected]> Signed-off-by: Aristeu Rozanski <[email protected]> Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions