summaryrefslogtreecommitdiff
path: root/yaffs_guts.h
diff options
context:
space:
mode:
authorcharles <charles>2010-03-15 23:10:33 +0000
committercharles <charles>2010-03-15 23:10:33 +0000
commitba0c6c81e76e17d038d169aa756ab430f9de7a39 (patch)
tree660be2ad6b483e341eac82df63dc4374c34eabd7 /yaffs_guts.h
parent8b140dd328588fc3fc38931fa5bce2c4d6e1d9e5 (diff)
Add garbage collection control
Diffstat (limited to 'yaffs_guts.h')
-rw-r--r--yaffs_guts.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/yaffs_guts.h b/yaffs_guts.h
index 2791d68..dabcfe6 100644
--- a/yaffs_guts.h
+++ b/yaffs_guts.h
@@ -598,6 +598,9 @@ struct yaffs_DeviceParamStruct {
/* Callback to mark the superblock dirty */
void (*markSuperBlockDirty)(struct yaffs_DeviceStruct *dev);
+
+ /* Callback to control garbage collection. */
+ unsigned (*gcControl)(struct yaffs_DeviceStruct *dev);
/* Debug control flags. Don't use unless you know what you're doing */
int useHeaderFileSize; /* Flag to determine if we should use file sizes from the header */