Greg Kroah-Hartman fa97cb843c bcache: 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 bcache 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: Kent Overstreet <kent.overstreet@gmail.com>
Cc: linux-bcache@vger.kernel.org
Acked-by: Coly Li <colyli@suse.de>
Link: https://lore.kernel.org/r/20220106100004.3277439-1-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-01-26 15:56:18 +01:00
..
2021-02-26 15:49:51 -07:00
2021-12-04 08:58:51 -08:00
2022-01-12 15:46:11 -08:00
2021-12-04 08:58:51 -08:00
2022-01-06 08:37:03 -08:00
2022-01-12 10:35:23 -08:00
2022-01-12 10:35:23 -08:00
2021-06-14 22:32:07 -07:00
2022-01-06 08:37:02 -08:00
2022-01-06 08:37:02 -08:00
2021-06-14 22:32:07 -07:00