]> rtime.felk.cvut.cz Git - linux-imx.git/commit
[SCSI] Don't attempt to send extended INQUIRY command if skip_vpd_pages is set
authorMartin K. Petersen <martin.petersen@oracle.com>
Wed, 31 Jul 2013 02:58:34 +0000 (22:58 -0400)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 2 Aug 2013 20:20:21 +0000 (13:20 -0700)
commit7562523e84ddc742fe1f9db8bd76b01acca89f6b
tree7424800571b47a62b72515f64bab44db4735c2fd
parente09056b25c38357df5c01985a0b3af608bccbfc0
[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
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/scsi.c