]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
[SCSI] zfcp: cleanup unit sysfs attribute usage
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Fri, 26 Apr 2013 14:13:49 +0000 (16:13 +0200)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 31 May 2013 23:32:37 +0000 (16:32 -0700)
commit86bdf218a717b77cb775b82ce48c7847cb72a86d
tree44b48f8c9d984e3243d6b8e6bfa6ebed0c5e6222
parent83d4e1c33d9329e6d53cf4ac0a02c98ac83eba05
[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>
drivers/s390/scsi/zfcp_ccw.c
drivers/s390/scsi/zfcp_ext.h
drivers/s390/scsi/zfcp_sysfs.c
drivers/s390/scsi/zfcp_unit.c