]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4eae8a8e688636745f4d7dd171785b90bfb36226
tree1a77a526359e6159ed367ac3b1e8f1e13de6bb37
parent806e6a4e77b5eaea906cceaca6b1bd137b565ec8
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