From: Tejun Heo Date: Mon, 24 Jun 2013 22:21:47 +0000 (-0700) Subject: cgroup: remove cgroup->actual_subsys_mask X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~44^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a8a648c4acee2095262f7fa65b0d8a68a03c32e4;p=pandora-kernel.git cgroup: remove cgroup->actual_subsys_mask cgroup curiously has two subsystem masks, ->subsys_mask and ->actual_subsys_mask. The latter only exists because the new target subsys_mask is passed into rebind_subsystems() via @root>subsys_mask. rebind_subsystems() needs to know what the current mask is to decide how to reach the target mask so ->actual_subsys_mask is used as the temp location to remember the current state. Adding a temporary field to a permanent data structure is rather silly and can be misleading. Update rebind_subsystems() to take @added_mask and @removed_mask instead and remove @root->actual_subsys_mask. This patch shouldn't introduce any behavior changes. v2: Comment and description updated as suggested by Li. Signed-off-by: Tejun Heo Acked-by: Li Zefan --- Reading git-diff-tree failed