diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-07-23 23:11:19 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-03 22:54:55 -0500 |
commit | 587a1f1659e8b330b8738ef4901832a2b63f0bed (patch) | |
tree | b785c3f44ddba6ee036e02268502cdc961f55ea0 /drivers/scsi/scsi_transport_iscsi.c | |
parent | 9104e427f3e21ddb380ddc39752624365b5bffea (diff) |
switch ->is_visible() to returning umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/scsi/scsi_transport_iscsi.c')
-rw-r--r-- | drivers/scsi/scsi_transport_iscsi.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/scsi/scsi_transport_iscsi.c b/drivers/scsi/scsi_transport_iscsi.c index 96029e6d027f..e8447fbc31f3 100644 --- a/drivers/scsi/scsi_transport_iscsi.c +++ b/drivers/scsi/scsi_transport_iscsi.c | |||
@@ -328,7 +328,7 @@ iscsi_iface_net_attr(iface, vlan_enabled, ISCSI_NET_PARAM_VLAN_ENABLED); | |||
328 | iscsi_iface_net_attr(iface, mtu, ISCSI_NET_PARAM_MTU); | 328 | iscsi_iface_net_attr(iface, mtu, ISCSI_NET_PARAM_MTU); |
329 | iscsi_iface_net_attr(iface, port, ISCSI_NET_PARAM_PORT); | 329 | iscsi_iface_net_attr(iface, port, ISCSI_NET_PARAM_PORT); |
330 | 330 | ||
331 | static mode_t iscsi_iface_attr_is_visible(struct kobject *kobj, | 331 | static umode_t iscsi_iface_attr_is_visible(struct kobject *kobj, |
332 | struct attribute *attr, int i) | 332 | struct attribute *attr, int i) |
333 | { | 333 | { |
334 | struct device *dev = container_of(kobj, struct device, kobj); | 334 | struct device *dev = container_of(kobj, struct device, kobj); |
@@ -2199,7 +2199,7 @@ static struct attribute *iscsi_conn_attrs[] = { | |||
2199 | NULL, | 2199 | NULL, |
2200 | }; | 2200 | }; |
2201 | 2201 | ||
2202 | static mode_t iscsi_conn_attr_is_visible(struct kobject *kobj, | 2202 | static umode_t iscsi_conn_attr_is_visible(struct kobject *kobj, |
2203 | struct attribute *attr, int i) | 2203 | struct attribute *attr, int i) |
2204 | { | 2204 | { |
2205 | struct device *cdev = container_of(kobj, struct device, kobj); | 2205 | struct device *cdev = container_of(kobj, struct device, kobj); |
@@ -2370,7 +2370,7 @@ static struct attribute *iscsi_session_attrs[] = { | |||
2370 | NULL, | 2370 | NULL, |
2371 | }; | 2371 | }; |
2372 | 2372 | ||
2373 | static mode_t iscsi_session_attr_is_visible(struct kobject *kobj, | 2373 | static umode_t iscsi_session_attr_is_visible(struct kobject *kobj, |
2374 | struct attribute *attr, int i) | 2374 | struct attribute *attr, int i) |
2375 | { | 2375 | { |
2376 | struct device *cdev = container_of(kobj, struct device, kobj); | 2376 | struct device *cdev = container_of(kobj, struct device, kobj); |
@@ -2468,7 +2468,7 @@ static struct attribute *iscsi_host_attrs[] = { | |||
2468 | NULL, | 2468 | NULL, |
2469 | }; | 2469 | }; |
2470 | 2470 | ||
2471 | static mode_t iscsi_host_attr_is_visible(struct kobject *kobj, | 2471 | static umode_t iscsi_host_attr_is_visible(struct kobject *kobj, |
2472 | struct attribute *attr, int i) | 2472 | struct attribute *attr, int i) |
2473 | { | 2473 | { |
2474 | struct device *cdev = container_of(kobj, struct device, kobj); | 2474 | struct device *cdev = container_of(kobj, struct device, kobj); |