@@ -894,10 +894,11 @@ static struct attribute *orangefs_default_attrs[] = {
894
894
& perf_time_interval_secs_attribute .attr ,
895
895
NULL ,
896
896
};
897
+ ATTRIBUTE_GROUPS (orangefs_default );
897
898
898
899
static struct kobj_type orangefs_ktype = {
899
900
.sysfs_ops = & orangefs_sysfs_ops ,
900
- .default_attrs = orangefs_default_attrs ,
901
+ .default_groups = orangefs_default_groups ,
901
902
};
902
903
903
904
static struct orangefs_attribute acache_hard_limit_attribute =
@@ -931,10 +932,11 @@ static struct attribute *acache_orangefs_default_attrs[] = {
931
932
& acache_timeout_msecs_attribute .attr ,
932
933
NULL ,
933
934
};
935
+ ATTRIBUTE_GROUPS (acache_orangefs_default );
934
936
935
937
static struct kobj_type acache_orangefs_ktype = {
936
938
.sysfs_ops = & orangefs_sysfs_ops ,
937
- .default_attrs = acache_orangefs_default_attrs ,
939
+ .default_groups = acache_orangefs_default_groups ,
938
940
};
939
941
940
942
static struct orangefs_attribute capcache_hard_limit_attribute =
@@ -968,10 +970,11 @@ static struct attribute *capcache_orangefs_default_attrs[] = {
968
970
& capcache_timeout_secs_attribute .attr ,
969
971
NULL ,
970
972
};
973
+ ATTRIBUTE_GROUPS (capcache_orangefs_default );
971
974
972
975
static struct kobj_type capcache_orangefs_ktype = {
973
976
.sysfs_ops = & orangefs_sysfs_ops ,
974
- .default_attrs = capcache_orangefs_default_attrs ,
977
+ .default_groups = capcache_orangefs_default_groups ,
975
978
};
976
979
977
980
static struct orangefs_attribute ccache_hard_limit_attribute =
@@ -1005,10 +1008,11 @@ static struct attribute *ccache_orangefs_default_attrs[] = {
1005
1008
& ccache_timeout_secs_attribute .attr ,
1006
1009
NULL ,
1007
1010
};
1011
+ ATTRIBUTE_GROUPS (ccache_orangefs_default );
1008
1012
1009
1013
static struct kobj_type ccache_orangefs_ktype = {
1010
1014
.sysfs_ops = & orangefs_sysfs_ops ,
1011
- .default_attrs = ccache_orangefs_default_attrs ,
1015
+ .default_groups = ccache_orangefs_default_groups ,
1012
1016
};
1013
1017
1014
1018
static struct orangefs_attribute ncache_hard_limit_attribute =
@@ -1042,10 +1046,11 @@ static struct attribute *ncache_orangefs_default_attrs[] = {
1042
1046
& ncache_timeout_msecs_attribute .attr ,
1043
1047
NULL ,
1044
1048
};
1049
+ ATTRIBUTE_GROUPS (ncache_orangefs_default );
1045
1050
1046
1051
static struct kobj_type ncache_orangefs_ktype = {
1047
1052
.sysfs_ops = & orangefs_sysfs_ops ,
1048
- .default_attrs = ncache_orangefs_default_attrs ,
1053
+ .default_groups = ncache_orangefs_default_groups ,
1049
1054
};
1050
1055
1051
1056
static struct orangefs_attribute pc_acache_attribute =
@@ -1072,10 +1077,11 @@ static struct attribute *pc_orangefs_default_attrs[] = {
1072
1077
& pc_ncache_attribute .attr ,
1073
1078
NULL ,
1074
1079
};
1080
+ ATTRIBUTE_GROUPS (pc_orangefs_default );
1075
1081
1076
1082
static struct kobj_type pc_orangefs_ktype = {
1077
1083
.sysfs_ops = & orangefs_sysfs_ops ,
1078
- .default_attrs = pc_orangefs_default_attrs ,
1084
+ .default_groups = pc_orangefs_default_groups ,
1079
1085
};
1080
1086
1081
1087
static struct orangefs_attribute stats_reads_attribute =
@@ -1095,10 +1101,11 @@ static struct attribute *stats_orangefs_default_attrs[] = {
1095
1101
& stats_writes_attribute .attr ,
1096
1102
NULL ,
1097
1103
};
1104
+ ATTRIBUTE_GROUPS (stats_orangefs_default );
1098
1105
1099
1106
static struct kobj_type stats_orangefs_ktype = {
1100
1107
.sysfs_ops = & orangefs_sysfs_ops ,
1101
- .default_attrs = stats_orangefs_default_attrs ,
1108
+ .default_groups = stats_orangefs_default_groups ,
1102
1109
};
1103
1110
1104
1111
static struct kobject * orangefs_obj ;
0 commit comments