patch-1.3.12 linux/drivers/scsi/sg.c

Next file: linux/drivers/sound/pas2_midi.c
Previous file: linux/drivers/scsi/scsi.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.11/linux/drivers/scsi/sg.c linux/drivers/scsi/sg.c
@@ -167,7 +167,7 @@
     if (size<=4096)
 	return (char *) scsi_malloc(size);
 #ifdef SG_BIG_BUFF
-    if (size<SG_BIG_BUFF)
+    if (size<=SG_BIG_BUFF)
     {
 	while(big_inuse)
 	{

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this