summaryrefslogtreecommitdiffstats
path: root/kernel/exec_domain.c
diff options
context:
space:
mode:
authorAkinobu Mita <akinobu.mita@gmail.com>2007-10-16 23:30:27 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-17 08:43:01 -0700
commitd58ae67813ff97030d2f47ff7d1e5f54e5d7c5b3 (patch)
tree41d8e470d578636a0e5aeaed2d1e959e0c1a99c7 /kernel/exec_domain.c
parent22d2b35b200f76085c16a2e14ca30b58510fcbe7 (diff)
downloadop-kernel-dev-d58ae67813ff97030d2f47ff7d1e5f54e5d7c5b3.zip
op-kernel-dev-d58ae67813ff97030d2f47ff7d1e5f54e5d7c5b3.tar.gz
module: return error when mod_sysfs_init() failed
load_module() returns zero when mod_sysfs_init() fails, then the module loading will succeed accidentally. This patch makes load_module() return error correctly in that case. Acked-by: Greg Kroah-Hartman <gregkh@suse.de> Acked-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/exec_domain.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud