Whamcloud - gitweb
- show n_link to learn the race
authoralex <alex>
Sun, 7 Aug 2005 07:11:03 +0000 (07:11 +0000)
committeralex <alex>
Sun, 7 Aug 2005 07:11:03 +0000 (07:11 +0000)
lustre/mds/mds_open.c

index 2c32397..355577c 100644 (file)
@@ -1648,8 +1648,8 @@ out:
         if (!obd->obd_recovering && mds_inode_has_old_attrs(inode)
                         && !mds_inode_is_orphan(inode)
                         && atomic_read(&inode->i_writecount) == 0) {
-                CERROR("leave inode %lu/%u with old attributes\n",
-                       inode->i_ino, inode->i_generation);
+                CERROR("leave inode %lu/%u with old attributes (nlink = %d)\n",
+                       inode->i_ino, inode->i_generation, inode->i_nlink);
         }
         l_dput(mfd->mfd_dentry);
         mds_mfd_destroy(mfd);