]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd3a2895c7cae80fe5cf52c0ad793dad89c82aad7
tree44f8eeaf52e8acdc5c430b9a2226a47ab2ef9b69
parent9eab498a29389c10594ccbe87c61063798a92d75
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