diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2011-10-06 04:56:58 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2011-10-20 11:11:15 -0400 |
commit | 88f4f5170fe74ae28443f304fcd226ddcf84f592 (patch) | |
tree | 381dac25bc3dd73fd22b2872eb82268442283b72 | |
parent | 8d4a690cd4f574bcb70c2cb89c227ba89a51351f (diff) |
[SCSI] iscsi class: fix link local mispelling
Use the same format for link local variables. Instead
of linklocal do link_local.
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
-rw-r--r-- | drivers/scsi/scsi_transport_iscsi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/scsi_transport_iscsi.c b/drivers/scsi/scsi_transport_iscsi.c index d746c351588f..522423bdcb56 100644 --- a/drivers/scsi/scsi_transport_iscsi.c +++ b/drivers/scsi/scsi_transport_iscsi.c | |||
@@ -317,7 +317,7 @@ iscsi_iface_net_attr(ipv6_iface, link_local_addr, ISCSI_NET_PARAM_IPV6_LINKLOCAL | |||
317 | iscsi_iface_net_attr(ipv6_iface, router_addr, ISCSI_NET_PARAM_IPV6_ROUTER); | 317 | iscsi_iface_net_attr(ipv6_iface, router_addr, ISCSI_NET_PARAM_IPV6_ROUTER); |
318 | iscsi_iface_net_attr(ipv6_iface, ipaddr_autocfg, | 318 | iscsi_iface_net_attr(ipv6_iface, ipaddr_autocfg, |
319 | ISCSI_NET_PARAM_IPV6_ADDR_AUTOCFG); | 319 | ISCSI_NET_PARAM_IPV6_ADDR_AUTOCFG); |
320 | iscsi_iface_net_attr(ipv6_iface, linklocal_autocfg, | 320 | iscsi_iface_net_attr(ipv6_iface, link_local_autocfg, |
321 | ISCSI_NET_PARAM_IPV6_LINKLOCAL_AUTOCFG); | 321 | ISCSI_NET_PARAM_IPV6_LINKLOCAL_AUTOCFG); |
322 | 322 | ||
323 | /* common read only iface attribute */ | 323 | /* common read only iface attribute */ |
@@ -368,7 +368,7 @@ static mode_t iscsi_iface_attr_is_visible(struct kobject *kobj, | |||
368 | param = ISCSI_NET_PARAM_IPV6_ROUTER; | 368 | param = ISCSI_NET_PARAM_IPV6_ROUTER; |
369 | else if (attr == &dev_attr_ipv6_iface_ipaddr_autocfg.attr) | 369 | else if (attr == &dev_attr_ipv6_iface_ipaddr_autocfg.attr) |
370 | param = ISCSI_NET_PARAM_IPV6_ADDR_AUTOCFG; | 370 | param = ISCSI_NET_PARAM_IPV6_ADDR_AUTOCFG; |
371 | else if (attr == &dev_attr_ipv6_iface_linklocal_autocfg.attr) | 371 | else if (attr == &dev_attr_ipv6_iface_link_local_autocfg.attr) |
372 | param = ISCSI_NET_PARAM_IPV6_LINKLOCAL_AUTOCFG; | 372 | param = ISCSI_NET_PARAM_IPV6_LINKLOCAL_AUTOCFG; |
373 | else | 373 | else |
374 | return 0; | 374 | return 0; |
@@ -393,7 +393,7 @@ static struct attribute *iscsi_iface_attrs[] = { | |||
393 | &dev_attr_ipv6_iface_link_local_addr.attr, | 393 | &dev_attr_ipv6_iface_link_local_addr.attr, |
394 | &dev_attr_ipv6_iface_router_addr.attr, | 394 | &dev_attr_ipv6_iface_router_addr.attr, |
395 | &dev_attr_ipv6_iface_ipaddr_autocfg.attr, | 395 | &dev_attr_ipv6_iface_ipaddr_autocfg.attr, |
396 | &dev_attr_ipv6_iface_linklocal_autocfg.attr, | 396 | &dev_attr_ipv6_iface_link_local_autocfg.attr, |
397 | &dev_attr_iface_mtu.attr, | 397 | &dev_attr_iface_mtu.attr, |
398 | &dev_attr_iface_port.attr, | 398 | &dev_attr_iface_port.attr, |
399 | NULL, | 399 | NULL, |