[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: NMartin K. Petersen <martin.petersen@oracle.com> Acked-by: NAlan Stern <stern@rowland.harvard.edu> Tested-by: NStuart Foster <smf.linux@ntlworld.com> Cc: stable@vger.kernel.org Signed-off-by: NJames Bottomley <JBottomley@Parallels.com>
Showing
想要评论请 注册 或 登录