diff options
author | Andi Kleen <andi@firstfloor.org> | 2009-04-13 17:40:08 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-13 18:04:32 -0400 |
commit | 3d26dcf7679c5cc6c9f3b95ffdb2152fba2b7fae (patch) | |
tree | 4d2b6f5e36a20ed02021a1956b53a5ef6d6f8932 /mm/memcontrol.c | |
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>
Diffstat (limited to 'mm/memcontrol.c')
0 files changed, 0 insertions, 0 deletions