yaffs Normalized headers for release branch.
[yaffs2.git] / yaffs_yaffs1.c
index bcfd594b046ccbff3cd225d98d3ded7930a56dc5..642fd5a4d54e6603a5f5c8bb9ccba892c203eed1 100644 (file)
@@ -10,6 +10,7 @@
  * it under the terms of the GNU General Public License version 2 as
  * published by the Free Software Foundation.
  */
+
 #include "yaffs_yaffs1.h"
 #include "yportenv.h"
 #include "yaffs_trace.h"
@@ -231,6 +232,11 @@ int yaffs1_Scan(yaffs_Device *dev)
                                                shadowFixerList = fixer;
                                                fixer->objectId = tags.objectId;
                                                fixer->shadowedId = oh->shadowsObject;
+                                               T(YAFFS_TRACE_SCAN,
+                                                 (TSTR
+                                                  (" Shadow fixer: %d shadows %d" TENDSTR),
+                                                  fixer->objectId, fixer->shadowedId));
+
                                        }
 
                                }
@@ -305,7 +311,7 @@ int yaffs1_Scan(yaffs_Device *dev)
                                        in->hdrChunk = chunk;
                                        in->serial = tags.serialNumber;
 
-                                       yaffs_SetObjectName(in, oh->name);
+                                       yaffs_SetObjectNameFromOH(in, oh);
                                        in->dirty = 0;
 
                                        /* directory stuff...