@ -1253,7 +1253,7 @@ static ssize_t target_stat_scsi_auth_intr_show_attr_inst(
ssize_t ret ;
spin_lock_irq ( & nacl - > device_list_lock ) ;
deve = & nacl - > device_list [ lacl - > mapped_lun ] ;
deve = nacl - > device_list [ lacl - > mapped_lun ] ;
if ( ! deve - > se_lun | | ! deve - > se_lun_acl ) {
spin_unlock_irq ( & nacl - > device_list_lock ) ;
return - ENODEV ;
@ -1279,7 +1279,7 @@ static ssize_t target_stat_scsi_auth_intr_show_attr_dev(
ssize_t ret ;
spin_lock_irq ( & nacl - > device_list_lock ) ;
deve = & nacl - > device_list [ lacl - > mapped_lun ] ;
deve = nacl - > device_list [ lacl - > mapped_lun ] ;
if ( ! deve - > se_lun | | ! deve - > se_lun_acl ) {
spin_unlock_irq ( & nacl - > device_list_lock ) ;
return - ENODEV ;
@ -1304,7 +1304,7 @@ static ssize_t target_stat_scsi_auth_intr_show_attr_port(
ssize_t ret ;
spin_lock_irq ( & nacl - > device_list_lock ) ;
deve = & nacl - > device_list [ lacl - > mapped_lun ] ;
deve = nacl - > device_list [ lacl - > mapped_lun ] ;
if ( ! deve - > se_lun | | ! deve - > se_lun_acl ) {
spin_unlock_irq ( & nacl - > device_list_lock ) ;
return - ENODEV ;
@ -1327,7 +1327,7 @@ static ssize_t target_stat_scsi_auth_intr_show_attr_indx(
ssize_t ret ;
spin_lock_irq ( & nacl - > device_list_lock ) ;
deve = & nacl - > device_list [ lacl - > mapped_lun ] ;
deve = nacl - > device_list [ lacl - > mapped_lun ] ;
if ( ! deve - > se_lun | | ! deve - > se_lun_acl ) {
spin_unlock_irq ( & nacl - > device_list_lock ) ;
return - ENODEV ;
@ -1349,7 +1349,7 @@ static ssize_t target_stat_scsi_auth_intr_show_attr_dev_or_port(
ssize_t ret ;
spin_lock_irq ( & nacl - > device_list_lock ) ;
deve = & nacl - > device_list [ lacl - > mapped_lun ] ;
deve = nacl - > device_list [ lacl - > mapped_lun ] ;
if ( ! deve - > se_lun | | ! deve - > se_lun_acl ) {
spin_unlock_irq ( & nacl - > device_list_lock ) ;
return - ENODEV ;
@ -1371,7 +1371,7 @@ static ssize_t target_stat_scsi_auth_intr_show_attr_intr_name(
ssize_t ret ;
spin_lock_irq ( & nacl - > device_list_lock ) ;
deve = & nacl - > device_list [ lacl - > mapped_lun ] ;
deve = nacl - > device_list [ lacl - > mapped_lun ] ;
if ( ! deve - > se_lun | | ! deve - > se_lun_acl ) {
spin_unlock_irq ( & nacl - > device_list_lock ) ;
return - ENODEV ;
@ -1393,7 +1393,7 @@ static ssize_t target_stat_scsi_auth_intr_show_attr_map_indx(
ssize_t ret ;
spin_lock_irq ( & nacl - > device_list_lock ) ;
deve = & nacl - > device_list [ lacl - > mapped_lun ] ;
deve = nacl - > device_list [ lacl - > mapped_lun ] ;
if ( ! deve - > se_lun | | ! deve - > se_lun_acl ) {
spin_unlock_irq ( & nacl - > device_list_lock ) ;
return - ENODEV ;
@ -1415,7 +1415,7 @@ static ssize_t target_stat_scsi_auth_intr_show_attr_att_count(
ssize_t ret ;
spin_lock_irq ( & nacl - > device_list_lock ) ;
deve = & nacl - > device_list [ lacl - > mapped_lun ] ;
deve = nacl - > device_list [ lacl - > mapped_lun ] ;
if ( ! deve - > se_lun | | ! deve - > se_lun_acl ) {
spin_unlock_irq ( & nacl - > device_list_lock ) ;
return - ENODEV ;
@ -1437,7 +1437,7 @@ static ssize_t target_stat_scsi_auth_intr_show_attr_num_cmds(
ssize_t ret ;
spin_lock_irq ( & nacl - > device_list_lock ) ;
deve = & nacl - > device_list [ lacl - > mapped_lun ] ;
deve = nacl - > device_list [ lacl - > mapped_lun ] ;
if ( ! deve - > se_lun | | ! deve - > se_lun_acl ) {
spin_unlock_irq ( & nacl - > device_list_lock ) ;
return - ENODEV ;
@ -1459,7 +1459,7 @@ static ssize_t target_stat_scsi_auth_intr_show_attr_read_mbytes(
ssize_t ret ;
spin_lock_irq ( & nacl - > device_list_lock ) ;
deve = & nacl - > device_list [ lacl - > mapped_lun ] ;
deve = nacl - > device_list [ lacl - > mapped_lun ] ;
if ( ! deve - > se_lun | | ! deve - > se_lun_acl ) {
spin_unlock_irq ( & nacl - > device_list_lock ) ;
return - ENODEV ;
@ -1481,7 +1481,7 @@ static ssize_t target_stat_scsi_auth_intr_show_attr_write_mbytes(
ssize_t ret ;
spin_lock_irq ( & nacl - > device_list_lock ) ;
deve = & nacl - > device_list [ lacl - > mapped_lun ] ;
deve = nacl - > device_list [ lacl - > mapped_lun ] ;
if ( ! deve - > se_lun | | ! deve - > se_lun_acl ) {
spin_unlock_irq ( & nacl - > device_list_lock ) ;
return - ENODEV ;
@ -1503,7 +1503,7 @@ static ssize_t target_stat_scsi_auth_intr_show_attr_hs_num_cmds(
ssize_t ret ;
spin_lock_irq ( & nacl - > device_list_lock ) ;
deve = & nacl - > device_list [ lacl - > mapped_lun ] ;
deve = nacl - > device_list [ lacl - > mapped_lun ] ;
if ( ! deve - > se_lun | | ! deve - > se_lun_acl ) {
spin_unlock_irq ( & nacl - > device_list_lock ) ;
return - ENODEV ;
@ -1525,7 +1525,7 @@ static ssize_t target_stat_scsi_auth_intr_show_attr_creation_time(
ssize_t ret ;
spin_lock_irq ( & nacl - > device_list_lock ) ;
deve = & nacl - > device_list [ lacl - > mapped_lun ] ;
deve = nacl - > device_list [ lacl - > mapped_lun ] ;
if ( ! deve - > se_lun | | ! deve - > se_lun_acl ) {
spin_unlock_irq ( & nacl - > device_list_lock ) ;
return - ENODEV ;
@ -1548,7 +1548,7 @@ static ssize_t target_stat_scsi_auth_intr_show_attr_row_status(
ssize_t ret ;
spin_lock_irq ( & nacl - > device_list_lock ) ;
deve = & nacl - > device_list [ lacl - > mapped_lun ] ;
deve = nacl - > device_list [ lacl - > mapped_lun ] ;
if ( ! deve - > se_lun | | ! deve - > se_lun_acl ) {
spin_unlock_irq ( & nacl - > device_list_lock ) ;
return - ENODEV ;
@ -1621,7 +1621,7 @@ static ssize_t target_stat_scsi_att_intr_port_show_attr_inst(
ssize_t ret ;
spin_lock_irq ( & nacl - > device_list_lock ) ;
deve = & nacl - > device_list [ lacl - > mapped_lun ] ;
deve = nacl - > device_list [ lacl - > mapped_lun ] ;
if ( ! deve - > se_lun | | ! deve - > se_lun_acl ) {
spin_unlock_irq ( & nacl - > device_list_lock ) ;
return - ENODEV ;
@ -1647,7 +1647,7 @@ static ssize_t target_stat_scsi_att_intr_port_show_attr_dev(
ssize_t ret ;
spin_lock_irq ( & nacl - > device_list_lock ) ;
deve = & nacl - > device_list [ lacl - > mapped_lun ] ;
deve = nacl - > device_list [ lacl - > mapped_lun ] ;
if ( ! deve - > se_lun | | ! deve - > se_lun_acl ) {
spin_unlock_irq ( & nacl - > device_list_lock ) ;
return - ENODEV ;
@ -1672,7 +1672,7 @@ static ssize_t target_stat_scsi_att_intr_port_show_attr_port(
ssize_t ret ;
spin_lock_irq ( & nacl - > device_list_lock ) ;
deve = & nacl - > device_list [ lacl - > mapped_lun ] ;
deve = nacl - > device_list [ lacl - > mapped_lun ] ;
if ( ! deve - > se_lun | | ! deve - > se_lun_acl ) {
spin_unlock_irq ( & nacl - > device_list_lock ) ;
return - ENODEV ;
@ -1721,7 +1721,7 @@ static ssize_t target_stat_scsi_att_intr_port_show_attr_port_auth_indx(
ssize_t ret ;
spin_lock_irq ( & nacl - > device_list_lock ) ;
deve = & nacl - > device_list [ lacl - > mapped_lun ] ;
deve = nacl - > device_list [ lacl - > mapped_lun ] ;
if ( ! deve - > se_lun | | ! deve - > se_lun_acl ) {
spin_unlock_irq ( & nacl - > device_list_lock ) ;
return - ENODEV ;