Whamcloud - gitweb
small fixes
authortappro <tappro>
Mon, 11 Sep 2006 07:47:12 +0000 (07:47 +0000)
committertappro <tappro>
Mon, 11 Sep 2006 07:47:12 +0000 (07:47 +0000)
lustre/mdd/mdd_internal.h
lustre/mdd/mdd_lov.c

index 5a21424..db94be7 100644 (file)
@@ -28,6 +28,7 @@
 #define _MDD_INTERNAL_H
 
 #include <asm/semaphore.h>
+
 #include <md_object.h>
 #include <dt_object.h>
 
@@ -69,15 +70,15 @@ struct orph_key {
 };
 
 struct mdd_thread_info {
-        struct txn_param  mti_param;
-        struct lu_fid     mti_fid;
-        struct lu_attr    mti_la;
-        struct md_attr    mti_ma;
-        struct lu_attr    mti_la_for_fix;
-        struct lov_mds_md mti_lmm;
-        struct obd_info   mti_oi;
-        struct orph_key   mti_orph_key;
-        struct obd_trans_info   mti_oti;
+        struct txn_param      mti_param;
+        struct lu_fid         mti_fid;
+        struct lu_attr        mti_la;
+        struct md_attr        mti_ma;
+        struct lu_attr        mti_la_for_fix;
+        struct lov_mds_md     mti_lmm;
+        struct obd_info       mti_oi;
+        struct orph_key       mti_orph_key;
+        struct obd_trans_info mti_oti;
 };
 
 int mdd_init_obd(const struct lu_context *ctxt, struct mdd_device *mdd,
@@ -93,7 +94,8 @@ int mdd_lov_create(const struct lu_context *ctxt, struct mdd_device *mdd,
                    struct mdd_object *parent, struct mdd_object *child,
                    struct lov_mds_md **lmm, int *lmm_size,
                    const struct md_create_spec *spec, struct lu_attr *la);
-
+void mdd_lov_create_finish(const struct lu_context *ctxt,
+                           struct mdd_device *mdd, int rc);
 int mdd_get_md(const struct lu_context *ctxt, struct mdd_object *obj,
                void *md, int *md_size, const char *name);
 int mdd_get_md_locked(const struct lu_context *ctxt, struct mdd_object *obj,
index b72d1a5..6ad425b 100644 (file)
@@ -306,7 +306,7 @@ int mdd_lov_set_md(const struct lu_context *ctxt, struct mdd_object *pobj,
                        rc = mdd_lov_set_dir_md(ctxt, child, lmmp, lmm_size, handle);
                 }
         }
-        CDEBUG(D_INFO, "Set lov md %p size %d for fid "DFID" rc%d\n",
+        CDEBUG(D_INFO, "Set lov md %p size %d for fid "DFID" rc %d\n",
                         lmmp, lmm_size, PFID(mdo2fid(child)), rc);
         RETURN(rc);
 }
@@ -349,7 +349,7 @@ static void mdd_lov_objid_free(const struct lu_context *ctxt,
         info->mti_oti.oti_objid = NULL;
 }
 
-void inline mdd_lov_create_finish(const struct lu_context *ctxt,
+void mdd_lov_create_finish(const struct lu_context *ctxt,
                            struct mdd_device *mdd, int rc)
 {
         struct mdd_thread_info *info = mdd_ctx_info(ctxt);