summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2015-06-19 15:11:00 +0200
committerNicholas Bellinger <nab@linux-iscsi.org>2015-06-23 09:43:46 +0200
commitb753d643555e548163adfa2de9d75e0257e4b356 (patch)
treed2b1f871b7815e28699886430bb6ede5a2cf0761 /include
parenttarget: simplify UNMAP handling (diff)
downloadlinux-b753d643555e548163adfa2de9d75e0257e4b356.tar.xz
linux-b753d643555e548163adfa2de9d75e0257e4b356.zip
target: implement WRITE_SAME with UNMAP bit using ->execute_unmap
Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Andy Grover <agrover@redhat.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'include')
-rw-r--r--include/target/target_core_backend.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/target/target_core_backend.h b/include/target/target_core_backend.h
index ff399369a21a..1e5c8f949bae 100644
--- a/include/target/target_core_backend.h
+++ b/include/target/target_core_backend.h
@@ -49,7 +49,6 @@ struct sbc_ops {
u32, enum dma_data_direction);
sense_reason_t (*execute_sync_cache)(struct se_cmd *cmd);
sense_reason_t (*execute_write_same)(struct se_cmd *cmd);
- sense_reason_t (*execute_write_same_unmap)(struct se_cmd *cmd);
sense_reason_t (*execute_unmap)(struct se_cmd *cmd,
sector_t lba, sector_t nolb);
};