yaffs Keep unused linux alloactor code up to date
authorCharles Manning <cdhmanning@gmail.com>
Thu, 29 Jul 2010 04:46:26 +0000 (16:46 +1200)
committerCharles Manning <cdhmanning@gmail.com>
Thu, 29 Jul 2010 04:46:26 +0000 (16:46 +1200)
We're not using this, but let's keep it compiling anyway.

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

index 72541326b0aee6855165863e43e5a87c644b55a4..d4205fa25f976affada958f132907462440425c7 100644 (file)
@@ -103,7 +103,7 @@ static void (*fake_ctor_list[10]) (void *) = {
 void yaffs_InitialiseRawTnodesAndObjects(yaffs_Device *dev)
 {
        yaffs_Allocator *allocator;
-       unsigned mount_id = yaffs_DeviceToContext(dev)->mount_id;
+       unsigned mount_id = yaffs_DeviceToLC(dev)->mount_id;
 
        T(YAFFS_TRACE_ALLOCATE,(TSTR("Initialising yaffs allocator\n")));