diff options
author | Sebastian Ott <sebott@linux.vnet.ibm.com> | 2013-04-26 16:13:49 +0200 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2013-05-31 16:32:37 -0700 |
commit | 86bdf218a717b77cb775b82ce48c7847cb72a86d (patch) | |
tree | 44b48f8c9d984e3243d6b8e6bfa6ebed0c5e6222 /drivers/s390/scsi/zfcp_ext.h | |
parent | 83d4e1c33d9329e6d53cf4ac0a02c98ac83eba05 (diff) | |
download | linux-stable-86bdf218a717b77cb775b82ce48c7847cb72a86d.tar.gz linux-stable-86bdf218a717b77cb775b82ce48c7847cb72a86d.tar.bz2 linux-stable-86bdf218a717b77cb775b82ce48c7847cb72a86d.zip |
[SCSI] zfcp: cleanup unit sysfs attribute usage
Let the driver core handle device attribute creation and removal. This
will simplify the code and eliminates races between attribute
availability and userspace notification via uevents.
Reviewed-by: Steffen Maier <maier@linux.vnet.ibm.com>
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Steffen Maier <maier@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/s390/scsi/zfcp_ext.h')
-rw-r--r-- | drivers/s390/scsi/zfcp_ext.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/scsi/zfcp_ext.h b/drivers/s390/scsi/zfcp_ext.h index 695b133364a8..b993d1170063 100644 --- a/drivers/s390/scsi/zfcp_ext.h +++ b/drivers/s390/scsi/zfcp_ext.h @@ -158,7 +158,7 @@ extern void zfcp_scsi_set_prot(struct zfcp_adapter *); extern void zfcp_scsi_dif_sense_error(struct scsi_cmnd *, int); /* zfcp_sysfs.c */ -extern struct attribute_group zfcp_sysfs_unit_attrs; +extern const struct attribute_group *zfcp_unit_attr_groups[]; extern struct attribute_group zfcp_sysfs_adapter_attrs; extern const struct attribute_group *zfcp_port_attr_groups[]; extern struct mutex zfcp_sysfs_port_units_mutex; |