yaffs: Fix AutoUnicode handling
authorCharles Manning <cdhmanning@gmail.com>
Wed, 4 Aug 2010 00:08:28 +0000 (12:08 +1200)
committerCharles Manning <cdhmanning@gmail.com>
Wed, 4 Aug 2010 00:08:28 +0000 (12:08 +1200)
Call the correct function to process auto unicode.

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
yaffs_guts.c

index b8a11b5..cfb0b42 100644 (file)
@@ -4367,7 +4367,7 @@ static void yaffs_CheckObjectDetailsLoaded(yaffs_Object *in)
                in->yst_rdev = oh->yst_rdev;
 
 #endif
                in->yst_rdev = oh->yst_rdev;
 
 #endif
-               yaffs_SetObjectName(in, oh->name);
+               yaffs_SetObjectNameFromOH(in, oh);
 
                if (in->variantType == YAFFS_OBJECT_TYPE_SYMLINK) {
                        in->variant.symLinkVariant.alias =
 
                if (in->variantType == YAFFS_OBJECT_TYPE_SYMLINK) {
                        in->variant.symLinkVariant.alias =