summaryrefslogtreecommitdiffstats
path: root/include/target
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@sandisk.com>2016-01-05 14:46:39 +0100
committerNicholas Bellinger <nab@linux-iscsi.org>2016-01-07 13:57:54 -0800
commit5261d86c5ce5726f097ed5e4ea28c40684ebf8e4 (patch)
treea1944cca5887335465730720e3396a8f3cda5039 /include/target
parent10c17c682691271777809373d9daaedd5810409e (diff)
downloadlinux-5261d86c5ce5726f097ed5e4ea28c40684ebf8e4.tar.gz
linux-5261d86c5ce5726f097ed5e4ea28c40684ebf8e4.tar.bz2
linux-5261d86c5ce5726f097ed5e4ea28c40684ebf8e4.zip
target: Support aborting tasks with a 64-bit tag
Avoid truncating the tag argument of target_submit_tmr() to a 32-bit number if the caller passes a 64-bit number. Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Cc: Christoph Hellwig <hch@lst.de> Cc: Andy Grover <agrover@redhat.com> Cc: Sagi Grimberg <sagig@mellanox.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'include/target')
-rw-r--r--include/target/target_core_fabric.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/target/target_core_fabric.h b/include/target/target_core_fabric.h
index 7fb2557a760e..de21130cc9bc 100644
--- a/include/target/target_core_fabric.h
+++ b/include/target/target_core_fabric.h
@@ -140,7 +140,7 @@ int target_submit_cmd(struct se_cmd *, struct se_session *, unsigned char *,
int target_submit_tmr(struct se_cmd *se_cmd, struct se_session *se_sess,
unsigned char *sense, u64 unpacked_lun,
void *fabric_tmr_ptr, unsigned char tm_type,
- gfp_t, unsigned int, int);
+ gfp_t, u64, int);
int transport_handle_cdb_direct(struct se_cmd *);
sense_reason_t transport_generic_new_cmd(struct se_cmd *);