target: remove control CDB flags
authorChristoph Hellwig <hch@infradead.org>
Sun, 20 May 2012 15:59:11 +0000 (11:59 -0400)
committerNicholas Bellinger <nab@linux-iscsi.org>
Tue, 17 Jul 2012 00:25:55 +0000 (17:25 -0700)
commit64f1db38c65fa634f4aa21e0f70480a6b8b4d47c
treede8a6b08d9230ba7cb69a3c78174b351123747df
parentcb4f4d3c7398a709b48d397e0520ee2509a953a4
target: remove control CDB flags

We don't need three flags to classifiy the CDB as we can check for a NULL S/G
list for a dataless command, and can infer from the absence of the data flag
that we deal with a control CDB.  Also remove the _SG_IO from the data CDB
flag as all I/O is dont on S/G lists now.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/loopback/tcm_loop.c
drivers/target/target_core_pscsi.c
drivers/target/target_core_transport.c
drivers/target/tcm_fc/tfc_cmd.c
include/target/target_core_base.h