Re: [PATCH] btrfs: sysfs: Replace default_attrs in ktypes with groups

From: David Sterba
Date: Fri May 03 2019 - 05:40:17 EST

On Thu, May 02, 2019 at 01:34:45PM -0400, Kimberly Brown wrote:
> The kobj_type default_attrs field is being replaced by the
> default_groups field. Replace the default_attrs fields in
> btrfs_raid_ktype and space_info_ktype with default_groups.
> Change "raid_attributes" to "raid_attrs", and use the ATTRIBUTE_GROUPS
> macro to create raid_groups and space_info_groups.
> Signed-off-by: Kimberly Brown <kimbrownkd@xxxxxxxxx>

Acked-by: David Sterba <dsterba@xxxxxxxx>

> ---
> This patch depends on a patch in the driver-core tree:
> GregKH can take this patch through the driver-core tree, or this patch
> can wait a release cycle and go through the subsystem's tree, whichever
> the subsystem maintainer is more comfortable with.

Please take it through the driver-core tree, thanks.