X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=yaffs_guts.h;h=55395dca7e1219e766f2ef8d0f418882eedb4fed;hp=c58c84bf1f29962c1fcc74ab7596e7942a35330f;hb=d24fe5806785f38e1f21cc1442c336152fc4b8d1;hpb=9822952036d0edf3076ccb116ef2ef6fd5166c98 diff --git a/yaffs_guts.h b/yaffs_guts.h index c58c84b..55395dc 100644 --- a/yaffs_guts.h +++ b/yaffs_guts.h @@ -455,10 +455,6 @@ struct yaffs_ObjectStruct { YCHAR shortName[YAFFS_SHORT_NAME_LENGTH + 1]; #endif -#ifndef __KERNEL__ - __u32 inUse; -#endif - #ifdef CONFIG_YAFFS_WINCE __u32 win_ctime[2]; __u32 win_mtime[2]; @@ -473,10 +469,7 @@ struct yaffs_ObjectStruct { __u32 yst_rdev; -#ifdef __KERNEL__ - struct inode *myInode; - -#endif + void *myInode; yaffs_ObjectType variantType; @@ -652,6 +645,7 @@ struct yaffs_DeviceStruct { #endif int isMounted; + int readOnly; int isCheckpointed;