public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] linux-patches r2469 - genpatches-2.6/trunk/3.10
@ 2013-08-06 15:14 Mike Pagano (mpagano)
  0 siblings, 0 replies; only message in thread
From: Mike Pagano (mpagano) @ 2013-08-06 15:14 UTC (permalink / raw
  To: gentoo-commits

Author: mpagano
Date: 2013-08-06 15:14:22 +0000 (Tue, 06 Aug 2013)
New Revision: 2469

Added:
   genpatches-2.6/trunk/3.10/2300_USB-mount-extd-inq-cmd-fix.patch
Modified:
   genpatches-2.6/trunk/3.10/0000_README
Log:
SCSI: Don't attempt to send extended INQUIRY command if skip_vpd_pages is set. Bug #478698

Modified: genpatches-2.6/trunk/3.10/0000_README
===================================================================
--- genpatches-2.6/trunk/3.10/0000_README	2013-08-05 19:19:18 UTC (rev 2468)
+++ genpatches-2.6/trunk/3.10/0000_README	2013-08-06 15:14:22 UTC (rev 2469)
@@ -83,6 +83,10 @@
 From:   http://algo.ing.unimo.it/people/paolo/disk_sched/
 Desc:   BFQ v6r2 patch 3 for 3.10: Early Queue Merge (EQM)
 
+Patch:  2300_USB-mount-extd-inq-cmd-fix.patch
+From:   https://bugs.gentoo.org/show_bug.cgi?id=478698
+Desc:   USB Mount fix: Don't attempt to send extended INQUIRY command if skip_vpd_pages is set
+
 Patch:  2400_kcopy-patch-for-infiniband-driver.patch
 From:   Alexey Shvetsov <alexxy@gentoo.org>
 Desc:   Zero copy for infiniband psm userspace driver

Added: genpatches-2.6/trunk/3.10/2300_USB-mount-extd-inq-cmd-fix.patch
===================================================================
--- genpatches-2.6/trunk/3.10/2300_USB-mount-extd-inq-cmd-fix.patch	                        (rev 0)
+++ genpatches-2.6/trunk/3.10/2300_USB-mount-extd-inq-cmd-fix.patch	2013-08-06 15:14:22 UTC (rev 2469)
@@ -0,0 +1,12 @@
+--- a/drivers/scsi/scsi.c	2013-08-06 11:06:38.358141689 -0400
++++ b/drivers/scsi/scsi.c	2013-08-06 11:08:27.455094545 -0400
+@@ -1031,6 +1031,9 @@ int scsi_get_vpd_page(struct scsi_device
+ {
+ 	int i, result;
+ 
++	if (sdev->skip_vpd_pages)
++		goto fail;
++
+ 	/* Ask for all the pages supported by this device */
+ 	result = scsi_vpd_inquiry(sdev, buf, 0, buf_len);
+ 	if (result)



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-08-06 15:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-06 15:14 [gentoo-commits] linux-patches r2469 - genpatches-2.6/trunk/3.10 Mike Pagano (mpagano)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox