projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Some cleanups, Linux 2.6.25 handling, fix handing of root permissions
[yaffs2.git]
/
yaffs_guts.h
diff --git
a/yaffs_guts.h
b/yaffs_guts.h
index 450672496f0f326971d785065f17c437a4902539..a19362534c4427b4e8b0c1cbd9aa1ef9c5e9f4ea 100644
(file)
--- a/
yaffs_guts.h
+++ b/
yaffs_guts.h
@@
-436,8
+436,8
@@
struct yaffs_ObjectStruct {
struct yaffs_ObjectStruct *parent;
struct ylist_head siblings;
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. */
int nDataChunks; /* Number of data chunks attached to the file. */
@@
-501,8
+501,7
@@
typedef struct {
int structType;
__u32 objectId;
__u32 parentId;
int structType;
__u32 objectId;
__u32 parentId;
- int chunkId;
-
+ int hdrChunk;
yaffs_ObjectType variantType:3;
__u8 deleted:1;
__u8 softDeleted:1;
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 nObjectsCreated;
yaffs_Object *freeObjects;
int nFreeObjects;
+
+ int nHardLinks;
yaffs_ObjectList *allocatedObjectList;
yaffs_ObjectList *allocatedObjectList;