X-Git-Url: https://yaffs.net/gitweb/?a=blobdiff_plain;f=yaffs_guts.h;h=a19362534c4427b4e8b0c1cbd9aa1ef9c5e9f4ea;hb=92ee023b9d7144e178a050eff898aaae4415096b;hp=450672496f0f326971d785065f17c437a4902539;hpb=40c386c7a14ebfa8afc14562f3b33a416831b26d;p=yaffs2.git diff --git a/yaffs_guts.h b/yaffs_guts.h index 4506724..a193625 100644 --- 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;