Whamcloud - gitweb
b=23878 add debug info
authorJohann Lombardi <johann@sun.com>
Thu, 7 Oct 2010 08:06:12 +0000 (10:06 +0200)
committerJohann Lombardi <johann.lombardi@oracle.com>
Thu, 7 Oct 2010 08:06:12 +0000 (10:06 +0200)
lustre/mds/mds_open.c

index 46447fa..304a524 100644 (file)
@@ -1246,6 +1246,8 @@ int mds_open(struct mds_update_record *rec, int offset,
                                         rc = -EOVERFLOW;
                                 else
                                         rc = -EFAULT;
+                                CERROR("file recreated with wrong inode number"
+                                      " %lu != %lu\n", ino, inode->i_ino);
                                 GOTO(cleanup, rc);
                         }
                         /* Written as part of setattr */