aboutsummaryrefslogtreecommitdiff
path: root/sys/cam/ctl/ctl_frontend_iscsi.h
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2014-07-06 06:21:34 +0000
committerAlexander Motin <mav@FreeBSD.org>2014-07-06 06:21:34 +0000
commitc26eee2dc9f82cfa8130bedff86453fffecc762a (patch)
treee7184877d6fe0b8698119d55b9ff68a838c2e4c7 /sys/cam/ctl/ctl_frontend_iscsi.h
parent561764b1c5a4090a0d0b1aec2f69500033305f9c (diff)
downloadsrc-c26eee2dc9f82cfa8130bedff86453fffecc762a.tar.gz
src-c26eee2dc9f82cfa8130bedff86453fffecc762a.zip
Move lun_map() method from command nexus to port.
Previous implementation made impossible to do some things, such as calling it for ports other then one through which command arrived.
Notes
Notes: svn path=/head/; revision=268307
Diffstat (limited to 'sys/cam/ctl/ctl_frontend_iscsi.h')
-rw-r--r--sys/cam/ctl/ctl_frontend_iscsi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cam/ctl/ctl_frontend_iscsi.h b/sys/cam/ctl/ctl_frontend_iscsi.h
index 886e8acd361d..2ef2c9a01a2b 100644
--- a/sys/cam/ctl/ctl_frontend_iscsi.h
+++ b/sys/cam/ctl/ctl_frontend_iscsi.h
@@ -38,7 +38,7 @@
struct cfiscsi_target {
TAILQ_ENTRY(cfiscsi_target) ct_next;
- int ct_luns[CTL_MAX_LUNS];
+ uint32_t ct_luns[CTL_MAX_LUNS];
struct cfiscsi_softc *ct_softc;
volatile u_int ct_refcount;
char ct_name[CTL_ISCSI_NAME_LEN];