Mercurial > yaffs-ecoscentric
changeset 124:c4351cba1f81
Add lazy loading
| author | charles |
|---|---|
| date | Wed, 01 Mar 2006 08:15:45 +0000 |
| parents | 2292eab33128 |
| children | d7d697637ee6 |
| files | yaffs_guts.h |
| diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/yaffs_guts.h +++ b/yaffs_guts.h @@ -386,13 +386,14 @@ struct yaffs_ObjectStruct { * object might be created before the data * is available (ie. file data records appear before the header). */ - __u8 serial; /* serial number of chunk in NAND. Cached here */ + __u8 lazyLoaded:1; /* This object has been lazy loaded and is missing some detail */ __u8 deferedFree:1; /* For Linux kernel. Object is removed from NAND, but is * still in the inode cache. Free of object is defered. * until the inode is released. */ + __u8 serial; /* serial number of chunk in NAND. Cached here */ __u16 sum; /* sum of the name to speed searching */ struct yaffs_DeviceStruct *myDev; /* The device I'm on */
