]> git.pld-linux.org Git - packages/kernel.git/commitdiff
- skip_vpd_pages issue fixed upstream
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 23 Jun 2014 23:11:47 +0000 (01:11 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Mon, 23 Jun 2014 23:11:47 +0000 (01:11 +0200)
kernel-small_fixes.patch

index 7d12330ebab8d5fcb4f08ea942e79b85e7bb9d95..392d1212b54690cc4ea01e399c80095dce704114 100644 (file)
@@ -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@oracle.com>
-Acked-by: Alan Stern <stern@rowland.harvard.edu>
-Tested-by: Stuart Foster <smf.linux@ntlworld.com>
-Cc: stable@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)
-
This page took 0.062253 seconds and 4 git commands to generate.