Date: Tue, 15 Jul 2014 18:27:18 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r268707 - stable/10/sys/dev/iscsi Message-ID: <201407151827.s6FIRIW7026691@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mav Date: Tue Jul 15 18:27:18 2014 New Revision: 268707 URL: http://svnweb.freebsd.org/changeset/base/268707 Log: Fix build on stable/10. Modified: stable/10/sys/dev/iscsi/iscsi.c Modified: stable/10/sys/dev/iscsi/iscsi.c ============================================================================== --- stable/10/sys/dev/iscsi/iscsi.c Tue Jul 15 18:24:41 2014 (r268706) +++ stable/10/sys/dev/iscsi/iscsi.c Tue Jul 15 18:27:18 2014 (r268707) @@ -1994,7 +1994,7 @@ iscsi_action_abort(struct iscsi_session 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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407151827.s6FIRIW7026691>