*/
int (*ldo_object_print)(struct lu_context *ctx,
struct seq_file *f, const struct lu_object *o);
+
+ /* process config specific for device */
+ int (*ldo_process_config)(struct lu_device *, struct lustre_cfg *);
+
};
/*
int (*ldto_init)(struct lu_device_type *t);
void (*ldto_fini)(struct lu_device_type *t);
- /* configure device */
- int (*ldto_device_config)(struct lu_device *, struct lustre_cfg *);
-
};
/*
ldt = obd->obd_type->typ_lu;
d = obd->obd_lu_dev;
if (ldt != NULL && d != NULL) {
- rc = ldt->ldt_ops->ldto_device_config(d, (struct lustre_cfg *)data);
+ rc = d->ld_ops->ldo_process_config(d, (struct lustre_cfg *)data);
} else {
OBD_CHECK_OP(obd, process_config, -EOPNOTSUPP);
OBD_COUNTER_INCREMENT(obd, process_config);