Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SCSI] attirbute_container: Initialize sysfs attributes with sysfs_at…
…tr_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>
- Loading branch information