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

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)