PATCH: 2.6.10 - scsi ioctls warnings
SCSI ioctls can ask for a lot of memory and fail. We don't need to vomit in the log file for this case. Again taken from the Red Hat minor patches applied for FC3.
Signed-off-by Alan Cox <[email protected]>
Original-patch: Arjan van de Ven <[email protected]>
drivers/block/scsi_ioctl.c +1 -1
@@ -356,7 +356,7 @@ bytes =max (in_len, out_len);if (bytes) { - buffer =kmalloc (bytes, q->bounce_gfp |GFP_USER ); + buffer =kmalloc (bytes, q->bounce_gfp |GFP_USER | __GFP_NOWARN);if (!buffer)return -ENOMEM ;