X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=yaffs_guts.h;h=cf193914b4044bd2790a6a5d818eb73a7dd9bd35;hp=2791d685878bed9c7033e3d4fe276fd1e93be24d;hb=f37d0b9ff0c87c1e22a5f708dbb4b455da7af59f;hpb=1677c2bb7be313823200adf0cab65c5f7abdb6f8 diff --git a/yaffs_guts.h b/yaffs_guts.h index 2791d68..cf19391 100644 --- a/yaffs_guts.h +++ b/yaffs_guts.h @@ -598,11 +598,15 @@ 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 */ int disableLazyLoad; /* Disable lazy loading on this device */ int wideTnodesDisabled; /* Set to disable wide tnodes */ + int disableSoftDelete; /* yaffs 1 only: Set to disable the use of softdeletion. */ int deferDirectoryUpdate; /* Set to defer directory updates */