+ remove-redundent-up-in-stop_machine.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     Remove redundent up in stop_machine()

has been added to the -mm tree.  Its filename is

     remove-redundent-up-in-stop_machine.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: Remove redundent up in stop_machine()
From: "Yingchao Zhou" <yingchao.zhou@xxxxxxxxx>

An up() is called in kernel/stop_machine.c on failure, and also in the
caller (unconditionally).

Signed-off-by: Zhou Yingchao <yingchao.zhou@xxxxxxxxx>
Cc: <stable@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 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;
 	}
 
_

Patches currently in -mm which might be from yingchao.zhou@xxxxxxxxx are

remove-redundent-up-in-stop_machine.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux