target/user: Do not set unused fields in tcmu_ops
authorAndy Grover <agrover@redhat.com>
Fri, 13 Nov 2015 18:42:20 +0000 (10:42 -0800)
committerNicholas Bellinger <nab@linux-iscsi.org>
Sun, 29 Nov 2015 03:32:52 +0000 (19:32 -0800)
commit6ba4bd297d99ad522a6414001e6837ddaa8753fd
tree246881e340ad093a59f38a591df8efeac3e9c5fa
parent611e2267b68fc061aea86345b3a8b87151395187
target/user: Do not set unused fields in tcmu_ops

TCMU sets TRANSPORT_FLAG_PASSTHROUGH, so INQUIRY commands will not be
emulated by LIO but passed up to userspace. Therefore TCMU should not
set these, just like pscsi doesn't.

Signed-off-by: Andy Grover <agrover@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_user.c