commit | 3d26dcf7679c5cc6c9f3b95ffdb2152fba2b7fae | [log] [tgz] |
---|---|---|
author | Andi Kleen <andi@firstfloor.org> | Mon Apr 13 14:40:08 2009 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Mon Apr 13 15:04:32 2009 -0700 |
tree | 4d2b6f5e36a20ed02021a1956b53a5ef6d6f8932 | |
parent | 4cafbd0b94d2c8cae6ede6d1c3ab90547547a3d2 [diff] |
kernel/sys.c: clean up sys_shutdown exit path Impact: cleanup, fix Clean up sys_shutdown() exit path. Factor out common code. Return correct error code instead of always 0 on failure. Signed-off-by: Andi Kleen <ak@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>