Mercurial > yaffs-ecoscentric
diff yaffs_guts.h @ 217:6dbe40ae9e54
Some cleanups, Linux 2.6.25 handling, fix handing of root permissions
| author | charles |
|---|---|
| date | Thu, 03 Jul 2008 21:06:05 +0100 |
| parents | b08276bd7b2d |
| children | 66bdb92cfbde |
line wrap: on
line diff
--- a/yaffs_guts.h +++ b/yaffs_guts.h @@ -436,8 +436,8 @@ struct yaffs_ObjectStruct { struct yaffs_ObjectStruct *parent; struct ylist_head siblings; - /* Where's my object header in NAND? */ - int chunkId; + /* Where's my object header in NAND? */ + int hdrChunk; int nDataChunks; /* Number of data chunks attached to the file. */ @@ -501,8 +501,7 @@ typedef struct { int structType; __u32 objectId; __u32 parentId; - int chunkId; - + int hdrChunk; yaffs_ObjectType variantType:3; __u8 deleted:1; __u8 softDeleted:1; @@ -693,6 +692,8 @@ struct yaffs_DeviceStruct { int nObjectsCreated; yaffs_Object *freeObjects; int nFreeObjects; + + int nHardLinks; yaffs_ObjectList *allocatedObjectList;
