Re: [PATCH] nilfs2: use default_groups in kobj_type

From: Ryusuke Konishi
Date: Tue Dec 28 2021 - 11:52:31 EST


On Tue, Dec 28, 2021 at 11:42 PM Greg Kroah-Hartman
<gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
>
> There are currently 2 ways to create a set of sysfs files for a
> kobj_type, through the default_attrs field, and the default_groups
> field. Move the nilfs2 code to use default_groups field which has been
> the preferred way since aa30f47cf666 ("kobject: Add support for default
> attribute groups to kobj_type") so that we can soon get rid of the
> obsolete default_attrs field.
>
> Cc: Ryusuke Konishi <konishi.ryusuke@xxxxxxxxx>
> Cc: linux-nilfs@xxxxxxxxxxxxxxx
> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

Acked-by: Ryusuke Konishi <konishi.ryusuke@xxxxxxxxx>

Looks good to me.
Please take it through your tree for your convenience, thanks.

Ryusuke Konishi