Whamcloud - gitweb
b=8654
authortappro <tappro>
Fri, 9 Sep 2005 00:59:53 +0000 (00:59 +0000)
committertappro <tappro>
Fri, 9 Sep 2005 00:59:53 +0000 (00:59 +0000)
debug for audit issues on MDS

lustre/mds/mds_audit.c

index 3c6c0f3..1ec9964 100644 (file)
@@ -248,7 +248,8 @@ int mds_set_audit(struct obd_device * obd, void * val)
 
         dentry = mds_id2dentry(obd, &msg->id, NULL);
         if (IS_ERR(dentry)) {
-                CERROR("Cannot get dentry\n");
+                CERROR("Cannot get dentry "DLID4" err=%li\n", OLID4(&msg->id),
+                       PTR_ERR(dentry));
                 RETURN(PTR_ERR(dentry));
         }