Whamcloud - gitweb
LU-6245 client: remove types abstraction from client code
[fs/lustre-release.git] / lustre / obdclass / lustre_handles.c
index f79404b..dbe402a 100644 (file)
@@ -98,7 +98,7 @@ void class_handle_hash(struct portals_handle *h,
        h->h_in = 1;
        spin_unlock(&bucket->lock);
 
-       CDEBUG(D_INFO, "added object %p with handle "LPX64" to hash\n",
+       CDEBUG(D_INFO, "added object %p with handle %#llx to hash\n",
               h, h->h_cookie);
        EXIT;
 }
@@ -107,12 +107,12 @@ EXPORT_SYMBOL(class_handle_hash);
 static void class_handle_unhash_nolock(struct portals_handle *h)
 {
        if (list_empty(&h->h_link)) {
-                CERROR("removing an already-removed handle ("LPX64")\n",
+               CERROR("removing an already-removed handle (%#llx)\n",
                        h->h_cookie);
                 return;
         }
 
-        CDEBUG(D_INFO, "removing object %p with handle "LPX64" from hash\n",
+       CDEBUG(D_INFO, "removing object %p with handle %#llx from hash\n",
                h, h->h_cookie);
 
        spin_lock(&h->h_lock);
@@ -239,7 +239,7 @@ static int cleanup_all_handles(void)
 
                spin_lock(&handle_hash[i].lock);
                list_for_each_entry_rcu(h, &(handle_hash[i].head), h_link) {
-                       CERROR("force clean handle "LPX64" addr %p ops %p\n",
+                       CERROR("force clean handle %#llx addr %p ops %p\n",
                               h->h_cookie, h, h->h_ops);
 
                        class_handle_unhash_nolock(h);