staging: lustre: remove LPX64 define
[deliverable/linux.git] / drivers / staging / lustre / lustre / obdecho / echo.c
index 96a807f82ec10f6d31c1c0b6d30b7a256e451045..f3b7429add029f338a09a21c6b8c84347b561352 100644 (file)
 
 #define DEBUG_SUBSYSTEM S_ECHO
 
-#include <obd_support.h>
-#include <obd_class.h>
-#include <lustre_debug.h>
-#include <lustre_dlm.h>
-#include <lprocfs_status.h>
+#include "../include/obd_support.h"
+#include "../include/obd_class.h"
+#include "../include/lustre_debug.h"
+#include "../include/lustre_dlm.h"
+#include "../include/lprocfs_status.h"
 
 #include "echo_internal.h"
 
@@ -120,7 +120,7 @@ static int echo_create(const struct lu_env *env, struct obd_export *exp,
        struct obd_device *obd = class_exp2obd(exp);
 
        if (!obd) {
-               CERROR("invalid client cookie "LPX64"\n",
+               CERROR("invalid client cookie %#llx\n",
                       exp->exp_handle.h_cookie);
                return -EINVAL;
        }
@@ -131,7 +131,7 @@ static int echo_create(const struct lu_env *env, struct obd_export *exp,
        }
 
        if (!(oa->o_valid & OBD_MD_FLTYPE)) {
-               CERROR("invalid o_valid "LPX64"\n", oa->o_valid);
+               CERROR("invalid o_valid %#llx\n", oa->o_valid);
                return -EINVAL;
        }
 
@@ -150,13 +150,13 @@ static int echo_destroy(const struct lu_env *env, struct obd_export *exp,
        struct obd_device *obd = class_exp2obd(exp);
 
        if (!obd) {
-               CERROR("invalid client cookie "LPX64"\n",
+               CERROR("invalid client cookie %#llx\n",
                       exp->exp_handle.h_cookie);
                return -EINVAL;
        }
 
        if (!(oa->o_valid & OBD_MD_FLID)) {
-               CERROR("obdo missing FLID valid flag: "LPX64"\n", oa->o_valid);
+               CERROR("obdo missing FLID valid flag: %#llx\n", oa->o_valid);
                return -EINVAL;
        }
 
@@ -176,13 +176,13 @@ static int echo_getattr(const struct lu_env *env, struct obd_export *exp,
        obd_id id = ostid_id(&oinfo->oi_oa->o_oi);
 
        if (!obd) {
-               CERROR("invalid client cookie "LPX64"\n",
+               CERROR("invalid client cookie %#llx\n",
                       exp->exp_handle.h_cookie);
                return -EINVAL;
        }
 
        if (!(oinfo->oi_oa->o_valid & OBD_MD_FLID)) {
-               CERROR("obdo missing FLID valid flag: "LPX64"\n",
+               CERROR("obdo missing FLID valid flag: %#llx\n",
                       oinfo->oi_oa->o_valid);
                return -EINVAL;
        }
@@ -200,13 +200,13 @@ static int echo_setattr(const struct lu_env *env, struct obd_export *exp,
        struct obd_device *obd = class_exp2obd(exp);
 
        if (!obd) {
-               CERROR("invalid client cookie "LPX64"\n",
+               CERROR("invalid client cookie %#llx\n",
                       exp->exp_handle.h_cookie);
                return -EINVAL;
        }
 
        if (!(oinfo->oi_oa->o_valid & OBD_MD_FLID)) {
-               CERROR("obdo missing FLID valid flag: "LPX64"\n",
+               CERROR("obdo missing FLID valid flag: %#llx\n",
                       oinfo->oi_oa->o_valid);
                return -EINVAL;
        }
@@ -327,7 +327,7 @@ static int echo_map_nb_to_lb(struct obdo *oa, struct obd_ioobj *obj,
                        }
                }
 
-               CDEBUG(D_PAGE, "$$$$ get page %p @ "LPU64" for %d\n",
+               CDEBUG(D_PAGE, "$$$$ get page %p @ %llu for %d\n",
                       res->page, res->lnb_file_offset, res->len);
 
                if (cmd & OBD_BRW_READ)
@@ -365,7 +365,7 @@ static int echo_finalize_lb(struct obdo *oa, struct obd_ioobj *obj,
                void       *addr;
 
                if (page == NULL) {
-                       CERROR("null page objid "LPU64":%p, buf %d/%d\n",
+                       CERROR("null page objid %llu:%p, buf %d/%d\n",
                               ostid_id(&obj->ioo_oid), page, i,
                               obj->ioo_bufcnt);
                        return -EFAULT;
@@ -373,7 +373,7 @@ static int echo_finalize_lb(struct obdo *oa, struct obd_ioobj *obj,
 
                addr = kmap(page);
 
-               CDEBUG(D_PAGE, "$$$$ use page %p, addr %p@"LPU64"\n",
+               CDEBUG(D_PAGE, "$$$$ use page %p, addr %p@%llu\n",
                       res->page, addr, res->lnb_file_offset);
 
                if (verify) {
This page took 0.045205 seconds and 5 git commands to generate.