Thomas, > The embedded member integrity_kobj member of struct gendisk violates > the assumption of the driver core that only one struct kobject should > be embedded into another object and then manages its lifetime. > > As the integrity_kobj is only used to hold a few sysfs attributes it > can be replaced by direct device_attributes and removed. Looks good to me and passed a quick test on a couple of systems. Thanks for cleaning this up! Reviewed-by: Martin K. Petersen <martin.petersen@xxxxxxxxxx> -- Martin K. Petersen Oracle Linux Engineering