From: "Yingchao Zhou" An up() is called in kernel/stop_machine.c on failure, and also in the caller (unconditionally). Signed-off-by: Zhou Yingchao Cc: Signed-off-by: Andrew Morton --- kernel/stop_machine.c | 1 - 1 files changed, 1 deletion(-) diff -puN kernel/stop_machine.c~remove-redundent-up-in-stop_machine kernel/stop_machine.c --- a/kernel/stop_machine.c~remove-redundent-up-in-stop_machine +++ a/kernel/stop_machine.c @@ -111,7 +111,6 @@ static int stop_machine(void) /* If some failed, kill them all. */ if (ret < 0) { stopmachine_set_state(STOPMACHINE_EXIT); - up(&stopmachine_mutex); return ret; } _