NULL,
};
+KOBJ_ATTRIBUTE_GROUPS(mdc); /* creates mdc_groups */
+
int mdc_tunables_init(struct obd_device *obd)
{
int rc;
- obd->obd_ktype.default_attrs = mdc_attrs;
+ obd->obd_ktype.default_groups = KOBJ_ATTR_GROUPS(mdc);
obd->obd_vars = lprocfs_mdc_obd_vars;
rc = lprocfs_obd_setup(obd, false);