Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
scst_lib: Fix VPD inquiry handling on incorrect LUNs
When SCST receives an INQUIRY request for an incorrect LUN, it calls scst_set_lun_not_supported_inquiry(), which returns an inquiry buffer with a peripheral qualifier of 011b and a peripheral device type of 1Fh. However, for a VPD inquiry, it is unable to populate the remaining fields. According to SPC-6, if the device server cannot return the requested data, it should terminate with CHECK CONDITION. Reported-by: Lev Vainblat <[email protected]>
- Loading branch information