summaryrefslogtreecommitdiff
path: root/drivers/scsi/pmcraid.c
diff options
context:
space:
mode:
authorJames Bottomley <James.Bottomley@suse.de>2010-03-20 17:44:12 (GMT)
committerJames Bottomley <James.Bottomley@suse.de>2010-03-27 19:15:24 (GMT)
commitebd09ec93c90c8ec571d7e166832fb1fc705bf5e (patch)
treef5ec7e8471e4828187ed32d8148f7e6be28d8306 /drivers/scsi/pmcraid.c
parentcf7474451c3a3cf07811abbf2a39536d33046c36 (diff)
downloadlinux-ebd09ec93c90c8ec571d7e166832fb1fc705bf5e.tar.xz
[SCSI] attirbute_container: Initialize sysfs attributes with sysfs_attr_init
All of the SCSI transport classes are suddenly spitting lockdep warnings. According to Eric Biderman this is because lockdep needs static initialisers and the attribute container way of doing things end up with dynamic sysfs attributes. Fix this by calling sysfs_attr_init which sets the lockdep key correctly. Tested-by: Christof Schmitt <christof.schmitt@de.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/pmcraid.c')
0 files changed, 0 insertions, 0 deletions