[packages/kernel] - skip_vpd_pages issue fixed upstream

baggins baggins at pld-linux.org
Tue Jun 24 01:12:58 CEST 2014


commit 52c5f3093582a20a75c9b2d0f4d103e697992917
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Tue Jun 24 01:11:47 2014 +0200

    - skip_vpd_pages issue fixed upstream

 kernel-small_fixes.patch | 25 -------------------------
 1 file changed, 25 deletions(-)
---
diff --git a/kernel-small_fixes.patch b/kernel-small_fixes.patch
index 7d12330..392d121 100644
--- a/kernel-small_fixes.patch
+++ b/kernel-small_fixes.patch
@@ -46,28 +46,3 @@ index 7a0c800..ec5ebbb 100644
  	SET_ETHTOOL_OPS(dev, &rtl8169_ethtool_ops);
  	dev->watchdog_timeo = RTL8169_TX_TIMEOUT;
  
-[PATCH] SCSI: Don't attempt to send extended INQUIRY command if skip_vpd_pages is set
-
-If a device has the skip_vpd_pages flag set we should simply fail the
-scsi_get_vpd_page() call.
-
-Signed-off-by: Martin K. Petersen <martin.petersen at oracle.com>
-Acked-by: Alan Stern <stern at rowland.harvard.edu>
-Tested-by: Stuart Foster <smf.linux at ntlworld.com>
-Cc: stable at vger.kernel.org
-
-diff --git a/drivers/scsi/scsi.c b/drivers/scsi/scsi.c
-index 3b1ea34..eaa808e 100644
---- a/drivers/scsi/scsi.c
-+++ b/drivers/scsi/scsi.c
-@@ -1031,6 +1031,9 @@
- {
- 	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)
-
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kernel.git/commitdiff/52c5f3093582a20a75c9b2d0f4d103e697992917



More information about the pld-cvs-commit mailing list