Messages in this thread | | | Date | Fri, 14 Jan 2022 22:38:47 +0100 (CET) | From | Richard Weinberger <> | Subject | Re: [PATCH v2] ubifs: use default_groups in kobj_type |
| |
----- Ursprüngliche Mail ----- > Von: "Greg Kroah-Hartman" <gregkh@linuxfoundation.org> > An: "linux-kernel" <linux-kernel@vger.kernel.org> > CC: "Greg Kroah-Hartman" <gregkh@linuxfoundation.org>, "richard" <richard@nod.at>, "schaecsn" <schaecsn@gmx.net>, > "linux-mtd" <linux-mtd@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@nod.at> > Cc: Stefan Schaeckeler <schaecsn@gmx.net> > Cc: linux-mtd@lists.infradead.org > Signed-off-by: Greg Kroah-Hartman <gregkh@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@nod.at>
Thanks, //richard
| |