yaffs Normalized headers for release branch.
[yaffs2.git] / yaffs_linux_allocator.c
index 72541326b0aee6855165863e43e5a87c644b55a4..e91782a188f09f6984a3bf9dc7dd67c7992b1a32 100644 (file)
@@ -11,7 +11,9 @@
  * published by the Free Software Foundation.
  *
  * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
- *
+ */
+
+/*
  * Note: Tis code is currently unused. Being checked in in case it becomes useful.
  */
 
@@ -103,7 +105,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")));