From: Li Zefan Date: Fri, 25 Jul 2008 08:47:18 +0000 (-0700) Subject: memcg: clean up checking of the disabled flag X-Git-Tag: v2.6.27-rc1~371 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cede86acd8bd5d2205dec28db8ac86410a3a19e8;p=pandora-kernel.git memcg: clean up checking of the disabled flag Those checks are unnecessary, because when the subsystem is disabled it can't be mounted, so those functions won't get called. The check is needed in functions which will be called in other places except cgroup. [hugh@veritas.com: further checking of disabled flag] Signed-off-by: Li Zefan Acked-by: Balbir Singh Acked-by: KAMEZAWA Hiroyuki Acked-by: KOSAKI Motohiro Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed