diff options
author | Christoph Hellwig <hch@infradead.org> | 2011-10-17 13:56:46 -0400 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2011-10-24 03:21:41 +0000 |
commit | cdbb70bb4c17dad0ee23a357030021892a0f60f0 (patch) | |
tree | 8387550cc921a1fb92de73b455b25fdd3cc98e92 /include/target | |
parent | 0c2cfe5fe78e682d6235a1d32a363460b1c77528 (diff) | |
download | blackbird-op-linux-cdbb70bb4c17dad0ee23a357030021892a0f60f0.tar.gz blackbird-op-linux-cdbb70bb4c17dad0ee23a357030021892a0f60f0.zip |
target: factor some duplicate code for stopping a task
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'include/target')
-rw-r--r-- | include/target/target_core_transport.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/target/target_core_transport.h b/include/target/target_core_transport.h index 9c7e32870f87..1ba5835426fc 100644 --- a/include/target/target_core_transport.h +++ b/include/target/target_core_transport.h @@ -171,6 +171,7 @@ extern int transport_generic_handle_data(struct se_cmd *); extern void transport_new_cmd_failure(struct se_cmd *); extern int transport_generic_handle_tmr(struct se_cmd *); extern void transport_generic_free_cmd_intr(struct se_cmd *); +extern bool target_stop_task(struct se_task *task, unsigned long *flags); extern void __transport_stop_task_timer(struct se_task *, unsigned long *); extern int transport_generic_map_mem_to_cmd(struct se_cmd *cmd, struct scatterlist *, u32, struct scatterlist *, u32); |