summaryrefslogtreecommitdiffstats
path: root/sys/dev/iscsi
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2014-07-15 18:27:18 +0000
committermav <mav@FreeBSD.org>2014-07-15 18:27:18 +0000
commit93a30afd01d7faefe55ebe70641b5ad31fa00468 (patch)
treec4f478cbc1f8ba610f1511e990be4f3da9dca2f4 /sys/dev/iscsi
parent3f163cf88fd96cdaa5561aa7aae40bd3fc7e18d1 (diff)
downloadFreeBSD-src-93a30afd01d7faefe55ebe70641b5ad31fa00468.zip
FreeBSD-src-93a30afd01d7faefe55ebe70641b5ad31fa00468.tar.gz
Fix build on stable/10.
Diffstat (limited to 'sys/dev/iscsi')
-rw-r--r--sys/dev/iscsi/iscsi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/iscsi/iscsi.c b/sys/dev/iscsi/iscsi.c
index ba6f359..188b378 100644
--- a/sys/dev/iscsi/iscsi.c
+++ b/sys/dev/iscsi/iscsi.c
@@ -1994,7 +1994,7 @@ iscsi_action_abort(struct iscsi_session *is, union ccb *ccb)
bhstmr->bhstmr_opcode = ISCSI_BHS_OPCODE_TASK_REQUEST;
bhstmr->bhstmr_function = 0x80 | BHSTMR_FUNCTION_ABORT_TASK;
- bhstmr->bhstmr_lun = htobe64(CAM_EXTLUN_BYTE_SWIZZLE(ccb->ccb_h.target_lun));
+ bhstmr->bhstmr_lun = iscsi_encode_lun(ccb->ccb_h.target_lun);
bhstmr->bhstmr_initiator_task_tag = is->is_initiator_task_tag;
is->is_initiator_task_tag++;
bhstmr->bhstmr_referenced_task_tag = aio->io_initiator_task_tag;
OpenPOWER on IntegriCloud