[PATCH v2] ubifs: use default_groups in kobj_type

Richard Weinberger richard at nod.at
Fri Jan 14 13:38:47 PST 2022


----- Ursprüngliche Mail -----
> Von: "Greg Kroah-Hartman" <gregkh at linuxfoundation.org>
> An: "linux-kernel" <linux-kernel at vger.kernel.org>
> CC: "Greg Kroah-Hartman" <gregkh at linuxfoundation.org>, "richard" <richard at nod.at>, "schaecsn" <schaecsn at gmx.net>,
> "linux-mtd" <linux-mtd at lists.infradead.org>
> Gesendet: Freitag, 14. Januar 2022 11:48:20
> Betreff: [PATCH v2] ubifs: use default_groups in kobj_type

> 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 ubifs sysfs 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: Richard Weinberger <richard at nod.at>
> Cc: Stefan Schaeckeler <schaecsn at gmx.net>
> Cc: linux-mtd at lists.infradead.org
> Signed-off-by: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
> ---
> v2: fix up the changelog text to properly refer to the ubifs code
>    instead of some other subsystem as pointed out by Michael Walle

Acked-by: Richard Weinberger <richard at nod.at>

Thanks,
//richard



More information about the linux-mtd mailing list