patch-2.4.25 linux-2.4.25/drivers/s390/ccwcache.c
Next file: linux-2.4.25/drivers/s390/net/ctcmain.c
Previous file: linux-2.4.25/drivers/s390/block/xpram.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
2004-02-18 05:36:31.000000000 -0800
-  Orig file: 
linux-2.4.24/drivers/s390/ccwcache.c
-  Orig date: 
2002-08-02 17:39:44.000000000 -0700
diff -urN linux-2.4.24/drivers/s390/ccwcache.c linux-2.4.25/drivers/s390/ccwcache.c
@@ -146,7 +146,7 @@
 
 	/* determine cache index for the requested size */
 	for (cachind = 0; cachind < CCW_NUMBER_CACHES; cachind ++ )
-	   if ( size_needed < (SMALLEST_SLAB << cachind) ) 
+	   if ( size_needed <= (SMALLEST_SLAB << cachind) ) 
 			break;
 
 	/* Try to fulfill the request from a cache */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)