diff options
author | 2022-01-06 11:02:31 +0100 | |
---|---|---|
committer | 2022-01-06 09:48:55 -0500 | |
commit | eaac0b590a47c717ef36cbfd1c528cd154c965a1 (patch) | |
tree | d130292d2809214b417b2c3b62de87c337967a67 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dm integrity: Use struct_group() to zero struct journal_sector (diff) | |
download | linux-dev-eaac0b590a47c717ef36cbfd1c528cd154c965a1.tar.xz linux-dev-eaac0b590a47c717ef36cbfd1c528cd154c965a1.zip |
dm sysfs: 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 dm 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.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions