Whamcloud - gitweb
LU-6245 client: remove types abstraction from client code
[fs/lustre-release.git] / lustre / osc / osc_object.c
index 88261c0..454311c 100644 (file)
@@ -131,8 +131,8 @@ static void osc_object_free(const struct lu_env *env, struct lu_object *obj)
 int osc_lvb_print(const struct lu_env *env, void *cookie,
                   lu_printer_t p, const struct ost_lvb *lvb)
 {
-        return (*p)(env, cookie, "size: "LPU64" mtime: "LPU64" atime: "LPU64" "
-                    "ctime: "LPU64" blocks: "LPU64,
+       return (*p)(env, cookie, "size: %llu mtime: %llu atime: %llu "
+                   "ctime: %llu blocks: %llu",
                     lvb->lvb_size, lvb->lvb_mtime, lvb->lvb_atime,
                     lvb->lvb_ctime, lvb->lvb_blocks);
 }
@@ -145,8 +145,8 @@ static int osc_object_print(const struct lu_env *env, void *cookie,
        struct osc_async_rc *ar    = &oinfo->loi_ar;
 
        (*p)(env, cookie, "id: "DOSTID" "
-            "idx: %d gen: %d kms_valid: %u kms "LPU64" "
-            "rc: %d force_sync: %d min_xid: "LPU64" ",
+            "idx: %d gen: %d kms_valid: %u kms %llu "
+            "rc: %d force_sync: %d min_xid: %llu ",
             POSTID(&oinfo->loi_oi), oinfo->loi_ost_idx,
             oinfo->loi_ost_gen, oinfo->loi_kms_valid, oinfo->loi_kms,
             ar->ar_rc, ar->ar_force_sync, ar->ar_min_xid);
@@ -182,7 +182,7 @@ static int osc_attr_update(const struct lu_env *env, struct cl_object *obj,
        if (valid & CAT_BLOCKS)
                lvb->lvb_blocks = attr->cat_blocks;
        if (valid & CAT_KMS) {
-               CDEBUG(D_CACHE, "set kms from "LPU64"to "LPU64"\n",
+               CDEBUG(D_CACHE, "set kms from %lluto %llu\n",
                       oinfo->loi_kms, (__u64)attr->cat_kms);
                loi_kms_set(oinfo, attr->cat_kms);
        }