target: simplify UNMAP handling
authorChristoph Hellwig <hch@lst.de>
Fri, 19 Jun 2015 13:10:59 +0000 (15:10 +0200)
committerNicholas Bellinger <nab@linux-iscsi.org>
Tue, 23 Jun 2015 07:43:44 +0000 (00:43 -0700)
Move a little more processing into the core code, and lift the previous
do_unmap callback into the sbc_ops structure.

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

Simple merge
Simple merge
Simple merge
Simple merge