diff options
| author | Greg Kroah-Hartman <[email protected]> | 2022-01-03 19:10:18 +0000 |
|---|---|---|
| committer | Darrick J. Wong <[email protected]> | 2022-01-06 18:43:30 +0000 |
| commit | 219aac5d469f7c0bc8ca299dcdeab70380076d24 (patch) | |
| tree | d84df7adfcd3d25229cef03809a8d9cac7482892 /lib/string_helpers.c | |
| parent | xfs: prevent UAF in xfs_log_item_in_current_chkpt (diff) | |
| download | kernel-219aac5d469f7c0bc8ca299dcdeab70380076d24.tar.gz kernel-219aac5d469f7c0bc8ca299dcdeab70380076d24.zip | |
xfs: 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 xfs 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: "Darrick J. Wong" <[email protected]>
Cc: [email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
