Whamcloud - gitweb
- dump i_mode as well
authoralex <alex>
Fri, 16 Sep 2005 12:35:02 +0000 (12:35 +0000)
committeralex <alex>
Fri, 16 Sep 2005 12:35:02 +0000 (12:35 +0000)
lustre/smfs/dir.c

index 469f77c..e6a97bd 100644 (file)
@@ -238,7 +238,8 @@ static int smfs_do_lookup (struct inode * dir,
                                                 dir->i_ino, tmp->d_parent->d_name.len,
                                                 tmp->d_parent->d_name.name,
                                                 cache_dir->i_nlink);
-                                CDEBUG(D_ERROR, "rc = %d\n", rc);
+                                CDEBUG(D_ERROR, "i_mode %o, rc = %d\n",
+                                       ind->i_mode, rc);
 
                                 if (is_bad_inode(ind))
                                         CDEBUG(D_ERROR, "bad inode returned %lu/%u\n",