]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit331a5d36f3059a00c638a115356294c8874cf262
treede8a6b08d9230ba7cb69a3c78174b351123747df
parent132947ac09305296b9b5fa3531f74dc5a0bc36aa
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