]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
commit62e4694256dd3cbe301ebc0da799df8779b97014
tree4d0900d5d8d2dcb5acd2f1e2d390c9d18e1e0629
parent7a971b1b3055f0e76ff09b8fd0dd809ea3b48279
target: simplify UNMAP handling

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