From fea96f5557452063baf9036dca4ac0f09920d601 Mon Sep 17 00:00:00 2001
From: alex <alex>
Date: Mon, 28 Jun 2004 11:04:20 +0000
Subject: [PATCH] - commented ->delete_inode for a while - additional debug
 message

---
 lustre/llite/super.c   | 3 +++
 lustre/mds/mds_reint.c | 7 +++++--
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/lustre/llite/super.c b/lustre/llite/super.c
index 13dd0605ea..87fd9b6758 100644
--- a/lustre/llite/super.c
+++ b/lustre/llite/super.c
@@ -79,7 +79,10 @@ struct super_operations lustre_super_operations =
 {
         .read_inode2    = ll_read_inode2,
         .clear_inode    = ll_clear_inode,
+#if 0
+        /* should be fixed first */
         .delete_inode   = ll_delete_inode,
+#endif
         .put_super      = lustre_put_super,
         .statfs         = ll_statfs,
         .umount_begin   = ll_umount_begin,
diff --git a/lustre/mds/mds_reint.c b/lustre/mds/mds_reint.c
index 870ce10390..20486d6813 100644
--- a/lustre/mds/mds_reint.c
+++ b/lustre/mds/mds_reint.c
@@ -627,9 +627,12 @@ static int mds_reint_create(struct mds_update_record *rec, int offset,
                 if ((rc = mds_try_to_split_dir(obd, dparent, &mea, 0))) {
                         if (rc > 0) {
                                 /* dir got splitted */
-                                CERROR("%s: splitted %lu/%u - %d\n",
+                                CERROR("%s: splitted %lu/%u - %d/%d\n",
                                        obd->obd_name, dparent->d_inode->i_ino,
-                                       dparent->d_inode->i_generation, rc);
+                                       dparent->d_inode->i_generation, rc,
+                                       parent_mode);
+                                CERROR("  creation %*s was requested\n",
+                                       rec->ur_namelen - 1, rec->ur_name);
                                 GOTO(cleanup, rc = -ERESTART);
                         } else {
                                 /* error happened during spitting. */
-- 
GitLab