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 7254132..d4205fa 100644 (file)
@@ -103,7 +103,7 @@ static void (*fake_ctor_list[10]) (void *) = {
 void yaffs_InitialiseRawTnodesAndObjects(yaffs_Device *dev)
 {
        yaffs_Allocator *allocator;
 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")));
 
 
        T(YAFFS_TRACE_ALLOCATE,(TSTR("Initialising yaffs allocator\n")));