projects
/
yaffs
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix unmounting flag
[yaffs/.git]
/
yaffs_guts.h
diff --git
a/yaffs_guts.h
b/yaffs_guts.h
index 4aafe1dae791dc5b3a879ccd1d4bae9a82142c73..eb1d8b8ee4cf716391062f49e413f7275510941b 100644
(file)
--- a/
yaffs_guts.h
+++ b/
yaffs_guts.h
@@
-14,7
+14,7
@@
*
* Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
*
*
* Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
*
- * $Id: yaffs_guts.h,v 1.1
7 2004-10-10 17:54:59
charles Exp $
+ * $Id: yaffs_guts.h,v 1.1
8 2004-10-20 20:12:43
charles Exp $
*/
#ifndef __YAFFS_GUTS_H__
*/
#ifndef __YAFFS_GUTS_H__
@@
-360,6
+360,8
@@
struct yaffs_ObjectStruct
#ifdef __KERNEL__
struct inode *myInode;
#ifdef __KERNEL__
struct inode *myInode;
+ __u8 deferedFree; // YAFFS has removed the object from NAND, but it is being kept
+ // Alive until the inode is cleared to prevent inode inconsistencies.
#endif
#endif
@@
-575,6
+577,9
@@
yaffs_Object *yaffs_LostNFound(yaffs_Device *dev);
void yfsd_WinFileTimeNow(__u32 target[2]);
#endif
void yfsd_WinFileTimeNow(__u32 target[2]);
#endif
+#ifdef __KERNEL__
+void yaffs_HandleDeferedFree(yaffs_Object *obj);
+#endif
// Debug dump
int yaffs_DumpObject(yaffs_Object *obj);
// Debug dump
int yaffs_DumpObject(yaffs_Object *obj);