X-Git-Url: https://yaffs.net/gitweb/?a=blobdiff_plain;f=yaffs_linux_allocator.c;h=d4205fa25f976affada958f132907462440425c7;hb=993de0d40a67e466cc22de0df144a6dc363e3193;hp=72541326b0aee6855165863e43e5a87c644b55a4;hpb=2da43953d71ac4430ef38dd81990baba9393b1d1;p=yaffs2.git 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")));