Re: [PATCH v3 0/3] blk-integrity: drop integrity_kobj from gendisk

From: Jens Axboe
Date: Wed Apr 26 2023 - 20:26:27 EST



On Sat, 18 Mar 2023 17:36:22 +0000, Thomas Weißschuh wrote:
> 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.
>
> [...]

Applied, thanks!

[1/3] blk-integrity: use sysfs_emit
commit: 3315e169b446249c1b61ff988d157238f4b2c5a0
[2/3] blk-integrity: convert to struct device_attribute
commit: 76b8c319f02715e14abdbbbdd6508e83a1059bcc
[3/3] blk-integrity: register sysfs attributes on struct device
commit: ff53cd52d9bdbf4074d2bbe9b591729997780bd3

Best regards,
--
Jens Axboe