Whamcloud - gitweb
- additional debug to catch the case when client gets openhandle w/o capa
[fs/lustre-release.git] / lustre / llite / llite_capa.c
index 42d1ecb..e9296b1 100644 (file)
@@ -259,11 +259,10 @@ int ll_set_capa(struct inode *inode, struct lookup_intent *it,
 
         if (!(body->valid & OBD_MD_CAPA)) {
                 if (atomic_read(&ll_capa_stat))
-                        CDEBUG(D_ERROR, "no capa for (uid %u, op %d, mdsid "
-                               LPU64", ino %lu igen %u)\n",
-                               (unsigned)current->uid, it->it_flags,
-                               id_group(&lli->lli_id), id_ino(&lli->lli_id),
-                               id_gen(&lli->lli_id));
+                        DEBUG_REQ(D_ERROR, req,
+                                  "no capa for (uid %u, op %d, "DLID4"\n",
+                                   (unsigned)current->uid, it->it_flags,
+                                   OLID4(&lli->lli_id));
 
                 return 0;
         }