From: Charles Manning Date: Thu, 29 Jul 2010 04:46:26 +0000 (+1200) Subject: yaffs Keep unused linux alloactor code up to date X-Git-Tag: pre-name-change~36 X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=commitdiff_plain;h=993de0d40a67e466cc22de0df144a6dc363e3193;ds=sidebyside yaffs Keep unused linux alloactor code up to date We're not using this, but let's keep it compiling anyway. Signed-off-by: Charles Manning --- diff --git a/yaffs_linux_allocator.c b/yaffs_linux_allocator.c index 7254132..d4205fa 100644 --- a/yaffs_linux_allocator.c +++ b/yaffs_linux_allocator.c @@ -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")));