summaryrefslogtreecommitdiffstats
path: root/.mailmap
diff options
context:
space:
mode:
authorNicholas Bellinger <nab@linux-iscsi.org>2011-08-08 19:08:23 -0700
committerNicholas Bellinger <nab@linux-iscsi.org>2011-08-22 19:26:22 +0000
commit12850626e2717f866a94e6ced724e3efe5a0aab8 (patch)
tree9585f7c65f46167d5af355f49faaa49639683bf4 /.mailmap
parent706d5860969b3b24d65d9a57bd3bb5e4a1419c08 (diff)
downloadop-kernel-dev-12850626e2717f866a94e6ced724e3efe5a0aab8.zip
op-kernel-dev-12850626e2717f866a94e6ced724e3efe5a0aab8.tar.gz
target: Fix WRITE_SAME usage with transport_get_size
For all flavours of WRITE_SAME, we only expect to handle a single block of data-out buffer payload, regardless of the number of logical blocks presented in the CDB. This patch changes all flavours of WRITE_SAME in transport_generic_cmd_sequencer() to pass '1' into transport_get_size() instead of the extracted 'sectors' to properly handle the default usage of sg_write_same without the --xferlen parameter. Reported-by: Eric Seppanen <eric@purestorage.com> Signed-off-by: Nicholas Bellinger <nab@risingtidesystems.com>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud