target: move unmap to struct spc_ops
authorChristoph Hellwig <hch@infradead.org>
Sun, 17 Jun 2012 22:40:55 +0000 (18:40 -0400)
committerNicholas Bellinger <nab@linux-iscsi.org>
Tue, 17 Jul 2012 00:35:14 +0000 (17:35 -0700)
commit14150a6bbe9e15ce8e7a4f79047c2b4284a51b3d
tree1a77a526359e6159ed367ac3b1e8f1e13de6bb37
parent6f974e8ce7b3f661910a49c7c2ba095631f341e9
target: move unmap to struct spc_ops

Having all the unmap payload parsing in the backed is a bit ugly, but until
more drivers support it and we can find a good interface for all of them
that seems the way to go.

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