Whamcloud - gitweb
bz=21869 improve filter_fid2dentry() error message
authorVitaly Fertman <Vitaly.Fertman@sun.com>
Wed, 18 Aug 2010 20:30:04 +0000 (00:30 +0400)
committerMikhail Pershin <tappro@sun.com>
Thu, 19 Aug 2010 09:39:31 +0000 (13:39 +0400)
o=adilger
i=girish
i=landen

lustre/obdfilter/filter.c

index a731840..561872a 100644 (file)
@@ -1487,8 +1487,8 @@ struct dentry *filter_fid2dentry(struct obd_device *obd,
         if (dir_dentry == NULL)
                 filter_parent_unlock(dparent);
         if (IS_ERR(dchild)) {
         if (dir_dentry == NULL)
                 filter_parent_unlock(dparent);
         if (IS_ERR(dchild)) {
-                CERROR("%s: child lookup error %ld\n", obd->obd_name,
-                       PTR_ERR(dchild));
+                CERROR("%s: object "LPU64":"LPU64" lookup error: rc %ld\n",
+                       obd->obd_name, id, group, PTR_ERR(dchild));
                 RETURN(dchild);
         }
 
                 RETURN(dchild);
         }