From: Tetsuo Handa Date: Sat, 21 Feb 2009 11:40:50 +0000 (+0900) Subject: TOMOYO: Do not call tomoyo_realpath_init unless registered. X-Git-Tag: v2.6.30-rc1~679^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1581e7ddbdd97443a134e1a0cc9d81256baf77a4;p=pandora-kernel.git TOMOYO: Do not call tomoyo_realpath_init unless registered. tomoyo_realpath_init() is unconditionally called by security_initcall(). But nobody will use realpath related functions if TOMOYO is not registered. So, let tomoyo_init() call tomoyo_realpath_init(). This patch saves 4KB of memory allocation if TOMOYO is not registered. Signed-off-by: Kentaro Takeda Signed-off-by: Tetsuo Handa Signed-off-by: Toshiharu Harada Signed-off-by: James Morris --- Reading git-diff-tree failed