OSDN Git Service

f2fs: replace ktype default_attrs with default_groups
authorKimberly Brown <kimbrownkd@gmail.com>
Fri, 7 Jun 2019 17:40:41 +0000 (13:40 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Jun 2019 11:50:22 +0000 (13:50 +0200)
commitdad4afe746b3e73dbc8ef8d60a3645a78a919026
tree44f8eeaf52e8acdc5c430b9a2226a47ab2ef9b69
parentc9c5b5e1565d6166e8d477d598e82652d0d7542d
f2fs: replace ktype default_attrs with default_groups

The kobj_type default_attrs field is being replaced by the
default_groups field. Replace the default_attrs fields in f2fs_sb_ktype
and f2fs_feat_ktype with default_groups. Use the ATTRIBUTE_GROUPS macro
to create f2fs_groups and f2fs_feat_groups.

Signed-off-by: Kimberly Brown <kimbrownkd@gmail.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/f2fs/sysfs.c