aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorThomas Weißschuh <[email protected]>2023-03-18 17:36:25 +0000
committerJens Axboe <[email protected]>2023-04-26 18:22:50 -0600
commitff53cd52d9bdbf4074d2bbe9b591729997780bd3 (patch)
tree4cf2070e086e6a00e4faf350ec0767f3c698cc43 /lib/mpi/mpi-cmp.c
parent76b8c319f02715e14abdbbbdd6508e83a1059bcc (diff)
blk-integrity: register sysfs attributes on struct device
The "integrity" kobject only acted as a holder for static sysfs entries. It also was embedded into struct gendisk without managing it, violating assumptions of the driver core. Instead register the sysfs entries directly onto the struct device. Also drop the now unused member integrity_kobj from struct gendisk. Suggested-by: Christoph Hellwig <[email protected]> Signed-off-by: Thomas Weißschuh <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Martin K. Petersen <[email protected]> Link: https://lore.kernel.org/r/20230309-kobj_release-gendisk_integrity-v3-3-ceccb4493c46@weissschuh.net Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions