- cpusets-allow-empty-cpusmems_allowed-to-be-set-for-fix.patch removed from -mm tree

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

 



The patch titled
     cpusets-allow-empty-cpusmems_allowed-to-be-set-for fix
has been removed from the -mm tree.  Its filename was
     cpusets-allow-empty-cpusmems_allowed-to-be-set-for-fix.patch

This patch was dropped because it was folded into cpusets-allow-empty-cpusmems_allowed-to-be-set-for.patch

------------------------------------------------------
Subject: cpusets-allow-empty-cpusmems_allowed-to-be-set-for fix
From: David Rientjes <rientjes@xxxxxxxxxx>

Cc: Paul Jackson <pj@xxxxxxx>
Cc: Christoph Lameter <clameter@xxxxxxxxxxxx>
Cc: Paul Menage <menage@xxxxxxxxxx>
Signed-off-by: David Rientjes <rientjes@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 kernel/cpuset.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff -puN kernel/cpuset.c~cpusets-allow-empty-cpusmems_allowed-to-be-set-for-fix kernel/cpuset.c
--- a/kernel/cpuset.c~cpusets-allow-empty-cpusmems_allowed-to-be-set-for-fix
+++ a/kernel/cpuset.c
@@ -772,7 +772,7 @@ static int update_cpumask(struct cpuset 
 	 * tasks, we'll catch it later when we validate the change and return
 	 * -ENOSPC.
 	 */
-	if (!*buf) {
+	if (!buf[0] || (buf[0] == '\n' && !buf[1])) {
 		cpus_clear(trialcs.cpus_allowed);
 	} else {
 		retval = cpulist_parse(buf, trialcs.cpus_allowed);
@@ -877,7 +877,7 @@ static int update_nodemask(struct cpuset
 	 * tasks, we'll catch it later when we validate the change and return
 	 * -ENOSPC.
 	 */
-	if (!*buf) {
+	if (!buf[0] || (buf[0] == '\n' && !buf[1])) {
 		nodes_clear(trialcs.mems_allowed);
 	} else {
 		retval = nodelist_parse(buf, trialcs.mems_allowed);
_

Patches currently in -mm which might be from rientjes@xxxxxxxxxx are

origin.patch
cpusets-allow-empty-cpusmems_allowed-to-be-set-for.patch
cpusets-allow-empty-cpusmems_allowed-to-be-set-for-fix.patch
compiler-introduce-__used-and-__maybe_unused.patch
i386-pci-type-may-be-unused.patch
sh-dma-use-__maybe_unused.patch
scsi-fix-ambiguous-gdthtable-definition.patch
frv-gdb-use-__maybe_unused.patch
i386-voyager-use-__maybe_unused.patch
mips-excite-use-__maybe_unused.patch
mips-tlbex-use-__maybe_unused.patch
powerpc-ps3-use-__maybe_unused.patch
i386-mmzone-use-__maybe_unused.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