From 0427794b5ce3dec85e30cf2563230b01f8195f82 Mon Sep 17 00:00:00 2001 From: tappro Date: Tue, 2 May 2006 20:09:12 +0000 Subject: [PATCH] add mdo_object_create skeleton --- lustre/cmm/mdc_device.c | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/lustre/cmm/mdc_device.c b/lustre/cmm/mdc_device.c index 164a691..01efdd7 100644 --- a/lustre/cmm/mdc_device.c +++ b/lustre/cmm/mdc_device.c @@ -80,10 +80,20 @@ static int mdc_statfs(struct lu_context *ctxt, RETURN (rc); } +static int mdc_object_create(struct lu_context *ctxt, struct mdc_object *mco) +{ + int rc; + + rc = -EOPNOTSUPP; + + RETURN(rc); +} + static struct md_device_operations mdc_md_ops = { - .mdo_root_get = mdc_root_get, - .mdo_config = mdc_config, - .mdo_statfs = mdc_statfs + .mdo_root_get = mdc_root_get, + .mdo_config = mdc_config, + .mdo_statfs = mdc_statfs, + .mdo_object_create = mdc_object_create }; static int mdc_process_config(struct lu_device *ld, struct lustre_cfg *cfg) -- 1.8.3.1