target: Use a PASSTHROUGH flag instead of transport_types
authorAndy Grover <agrover@redhat.com>
Tue, 19 May 2015 21:44:41 +0000 (14:44 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Sun, 31 May 2015 02:58:11 +0000 (19:58 -0700)
commita3541703ebbf99d499656b15987175f6579b42ac
treee89b458123a97639550974de649c3da382144219
parent7bfea53b5c936d706d0bf60ec218fa72cde77121
target: Use a PASSTHROUGH flag instead of transport_types

It seems like we only care if a transport is passthrough or not. Convert
transport_type to a flags field and replace TRANSPORT_PLUGIN_* with a
flag, TRANSPORT_FLAG_PASSTHROUGH.

Signed-off-by: Andy Grover <agrover@redhat.com>
Reviewed-by: Ilias Tsitsimpis <iliastsi@arrikto.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_alua.c
drivers/target/target_core_configfs.c
drivers/target/target_core_device.c
drivers/target/target_core_file.c
drivers/target/target_core_iblock.c
drivers/target/target_core_pr.c
drivers/target/target_core_pscsi.c
drivers/target/target_core_rd.c
drivers/target/target_core_transport.c
drivers/target/target_core_user.c
include/target/target_core_backend.h