summaryrefslogtreecommitdiffstats
path: root/scripts/tracing
diff options
context:
space:
mode:
authorRoland Dreier <roland@purestorage.com>2012-02-14 01:18:15 +0100
committerNicholas Bellinger <nab@linux-iscsi.org>2012-02-25 23:37:49 +0100
commit089461dda1770c10fea0b988ff74519a9be81d7e (patch)
tree4e1a644fe2a32ae3ffa22c52673060e617b2e692 /scripts/tracing
parenttarget: Fix up handling of short INQUIRY buffers (diff)
downloadlinux-089461dda1770c10fea0b988ff74519a9be81d7e.tar.xz
linux-089461dda1770c10fea0b988ff74519a9be81d7e.zip
target: Set peripheral device type consistently in INQUIRY response
Current code sets the peripheral device type to 0x3f == "not present unknown" for virtual LUN 0 for standard INQUIRY commands, but leaves it as 0 == "connected direct access block" for VPD INQUIRY commands. This is just because the check for LUN 0 only happens in some code paths. Make our peripheral device type consistent by moving the LUN 0 check into the common emulate_inquiry() code. Signed-off-by: Roland Dreier <roland@purestorage.com> Cc: stable@vger.kernel.org Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'scripts/tracing')
0 files changed, 0 insertions, 0 deletions