[kernel] r5711 - dists/sarge-security/kernel/source/kernel-source-2.6.8-2.6.8/debian/patches

Dann Frazier dannf at costa.debian.org
Mon Feb 6 06:58:43 UTC 2006


Author: dannf
Date: Mon Feb  6 06:58:37 2006
New Revision: 5711

Modified:
   dists/sarge-security/kernel/source/kernel-source-2.6.8-2.6.8/debian/patches/mempolicy-undefined-nodes.dpatch
Log:
fix backported patch; "nodes" was the bitmap prior to nodemap_t when it becames nodes->bits

Modified: dists/sarge-security/kernel/source/kernel-source-2.6.8-2.6.8/debian/patches/mempolicy-undefined-nodes.dpatch
==============================================================================
--- dists/sarge-security/kernel/source/kernel-source-2.6.8-2.6.8/debian/patches/mempolicy-undefined-nodes.dpatch	(original)
+++ dists/sarge-security/kernel/source/kernel-source-2.6.8-2.6.8/debian/patches/mempolicy-undefined-nodes.dpatch	Mon Feb  6 06:58:37 2006
@@ -17,7 +17,9 @@
     Signed-off-by: Andi Kleen <ak at suse.de>
     Signed-off-by: Linus Torvalds <torvalds at osdl.org>
 
-Backported to Debian's 2.6.8 by Horms <horms at debian.org>
+Backported to Debian's 2.6.8 by:
+ Horms <horms at debian.org> 
+ dann frazier <dannf at debian.org>
 
 --- ./mm/mempolicy.c.orig	2006-01-04 13:50:45.000000000 +0900
 +++ ./mm/mempolicy.c	2006-01-04 14:00:11.000000000 +0900
@@ -25,7 +27,7 @@
  	switch (mode) {
  	case MPOL_INTERLEAVE:
  		bitmap_copy(policy->v.nodes, nodes, MAX_NUMNODES);
-+		if (bitmap_weight((*nodes)->bits, MAX_NUMNODES) == 0) {
++		if (bitmap_weight(nodes, MAX_NUMNODES) == 0) {
 +			kmem_cache_free(policy_cache, policy);
 +			return ERR_PTR(-EINVAL);
 +		}



More information about the Kernel-svn-changes mailing list