]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd84048f5e9fb249b2644e821beacb1aa3b0d2567
treea876548f54088886ca0bbc084bb5c560175b5094
parent7d1a1907943ff450d490aa8860b3060d8515b8e0
target: make the ->get_cdb method optional

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