Whamcloud - gitweb
add mdo_object_create skeleton
authortappro <tappro>
Tue, 2 May 2006 20:09:12 +0000 (20:09 +0000)
committertappro <tappro>
Tue, 2 May 2006 20:09:12 +0000 (20:09 +0000)
lustre/cmm/mdc_device.c

index 164a691..01efdd7 100644 (file)
@@ -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)