From: Tejun Heo Date: Mon, 24 Jun 2013 22:21:48 +0000 (-0700) Subject: cgroup: clean up find_css_set() and friends X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~44^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b326f9d0dbd066b0aafbe88e6011a680a36de6e8;p=pandora-kernel.git cgroup: clean up find_css_set() and friends find_css_set() passes uninitialized on-stack template[] array to find_existing_css_set() which sets the entries for all subsystems. Passing around an uninitialized array is a bit icky and we want to introduce an iterator which only iterates loaded subsystems. Let's initialize it on definition. While at it, also make the following cosmetic cleanups. * Convert to proper /** comments. * Reorder variable declarations. * Replace comment on synchronization with lockdep_assert_held(). This patch doesn't make any functional differences. Signed-off-by: Tejun Heo Acked-by: Li Zefan --- Reading git-diff-tree failed