diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-01-03 11:10:18 -0800 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2022-01-06 10:43:30 -0800 |
commit | 219aac5d469f7c0bc8ca299dcdeab70380076d24 (patch) | |
tree | d84df7adfcd3d25229cef03809a8d9cac7482892 /fs/xfs/scrub/parent.c | |
parent | f8d92a66e810acbef6ddbc0bd0cbd9b117ce8acd (diff) | |
download | linux-219aac5d469f7c0bc8ca299dcdeab70380076d24.tar.bz2 |
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" <djwong@kernel.org>
Cc: linux-xfs@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/scrub/parent.c')
0 files changed, 0 insertions, 0 deletions