aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2011-10-17 13:56:46 -0400
committerNicholas Bellinger <nab@linux-iscsi.org>2011-10-23 23:21:41 -0400
commitcdbb70bb4c17dad0ee23a357030021892a0f60f0 (patch)
tree8387550cc921a1fb92de73b455b25fdd3cc98e92 /include
parent0c2cfe5fe78e682d6235a1d32a363460b1c77528 (diff)
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')
-rw-r--r--include/target/target_core_transport.h1
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 *);
171extern void transport_new_cmd_failure(struct se_cmd *); 171extern void transport_new_cmd_failure(struct se_cmd *);
172extern int transport_generic_handle_tmr(struct se_cmd *); 172extern int transport_generic_handle_tmr(struct se_cmd *);
173extern void transport_generic_free_cmd_intr(struct se_cmd *); 173extern void transport_generic_free_cmd_intr(struct se_cmd *);
174extern bool target_stop_task(struct se_task *task, unsigned long *flags);
174extern void __transport_stop_task_timer(struct se_task *, unsigned long *); 175extern void __transport_stop_task_timer(struct se_task *, unsigned long *);
175extern int transport_generic_map_mem_to_cmd(struct se_cmd *cmd, struct scatterlist *, u32, 176extern int transport_generic_map_mem_to_cmd(struct se_cmd *cmd, struct scatterlist *, u32,
176 struct scatterlist *, u32); 177 struct scatterlist *, u32);