Whamcloud - gitweb
fix some small compile errors.
authorhuanghua <huanghua>
Fri, 1 Sep 2006 03:05:25 +0000 (03:05 +0000)
committerhuanghua <huanghua>
Fri, 1 Sep 2006 03:05:25 +0000 (03:05 +0000)
lustre/mdd/mdd_handler.c
lustre/mdd/mdd_internal.h
lustre/mdd/mdd_orphans.c

index f938790..c7756a5 100644 (file)
@@ -2028,7 +2028,7 @@ static int mdd_close(const struct lu_context *ctxt, struct md_object *obj,
 
         mdd_obj = md2mdd_obj(obj);
         mdd_read_lock(ctxt, mdd_obj);
-        rc = __mdd_iattr_get(ctxt, obj, ma);
+        rc = __mdd_iattr_get(ctxt, mdd_obj, ma);
         if (rc)
                 GOTO(out_locked, rc);
 
index e4d8324..37e9f77 100644 (file)
@@ -112,9 +112,9 @@ void mdd_read_unlock(const struct lu_context *ctxt, struct mdd_object *obj);
 void mdd_write_lock(const struct lu_context *ctxt, struct mdd_object *obj);
 void mdd_write_unlock(const struct lu_context *ctxt, struct mdd_object *obj);
 
-int inline __mdd_orphan_add(const struct lu_context *, struct mdd_object *,
+int __mdd_orphan_add(const struct lu_context *, struct mdd_object *,
                             struct thandle *);
-int inline __mdd_orphan_del(const struct lu_context *, struct mdd_object *,
+int __mdd_orphan_del(const struct lu_context *, struct mdd_object *,
                             struct thandle *);
 int orph_index_init(const struct lu_context *ctx, struct mdd_device *mdd);
 void orph_index_fini(const struct lu_context *ctx, struct mdd_device *mdd);
index 7cd38d2..dc49514 100644 (file)
@@ -147,7 +147,7 @@ void orph_index_fini(const struct lu_context *ctx, struct mdd_device *mdd)
         EXIT;
 }
 
-int inline __mdd_orphan_add(const struct lu_context *ctx,
+int __mdd_orphan_add(const struct lu_context *ctx,
                             struct mdd_object *obj,
                             struct thandle *th)
 {
@@ -155,7 +155,7 @@ int inline __mdd_orphan_add(const struct lu_context *ctx,
         return orph_index_insert(ctx, obj, ORPH_OP_UNLINK, &offset, th);
 }
 
-int inline __mdd_orphan_del(const struct lu_context *ctx,
+int __mdd_orphan_del(const struct lu_context *ctx,
                             struct mdd_object *obj,
                             struct thandle *th)
 {