target: make the ->get_cdb method optional
authorChristoph Hellwig <hch@infradead.org>
Wed, 12 Oct 2011 15:09:11 +0000 (11:09 -0400)
committerNicholas Bellinger <nab@linux-iscsi.org>
Mon, 24 Oct 2011 03:21:11 +0000 (03:21 +0000)
The most commonly used file, iblock and rd backends have no use for
a per-task CDB and thus don't need a method to copy it into their
otherwise unused CDB fields.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_file.c
drivers/target/target_core_file.h
drivers/target/target_core_iblock.c
drivers/target/target_core_iblock.h
drivers/target/target_core_rd.c
drivers/target/target_core_rd.h
drivers/target/target_core_transport.c

Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge