summaryrefslogtreecommitdiffstats
path: root/include/xen
diff options
context:
space:
mode:
authorRoland Dreier <roland@purestorage.com>2012-07-17 00:34:23 +0200
committerNicholas Bellinger <nab@linux-iscsi.org>2012-07-17 02:35:36 +0200
commit1a5fa4576ec8a462313c7516b31d7453481ddbe8 (patch)
tree5a88ad2720656e7286bde6d4d301382877b67af1 /include/xen
parenttarget: Add range checking to UNMAP emulation (diff)
downloadlinux-1a5fa4576ec8a462313c7516b31d7453481ddbe8.tar.xz
linux-1a5fa4576ec8a462313c7516b31d7453481ddbe8.zip
target: Fix reading of data length fields for UNMAP commands
The UNMAP DATA LENGTH and UNMAP BLOCK DESCRIPTOR DATA LENGTH fields are in the unmap descriptor (the payload transferred to our data out buffer), not in the CDB itself. Read them from the correct place in target_emulated_unmap. 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 'include/xen')
0 files changed, 0 insertions, 0 deletions