X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=yaffs_guts.h;h=a9fdde2213c46b315b56ab333754852867b4cab7;hp=6e48d1361bfa5742955c669af5bed27bd8d983f8;hb=1658295946bc589b4d351e75a59bd697630cd9e1;hpb=a7ae50c6ee8de56afbdae3176a355da54f45b21a diff --git a/yaffs_guts.h b/yaffs_guts.h index 6e48d13..a9fdde2 100644 --- a/yaffs_guts.h +++ b/yaffs_guts.h @@ -75,7 +75,9 @@ #define YAFFS_OBJECT_SPACE 0x40000 #define YAFFS_MAX_OBJECT_ID (YAFFS_OBJECT_SPACE - 1) -#define YAFFS_CHECKPOINT_VERSION 5 +/* Binary data version stamps */ +#define YAFFS_SUMMARY_VERSION 1 +#define YAFFS_CHECKPOINT_VERSION 6 #ifdef CONFIG_YAFFS_UNICODE #define YAFFS_MAX_NAME_LENGTH 127 @@ -603,6 +605,11 @@ struct yaffs_param { int always_check_erased; /* Force chunk erased check always on */ int disable_summary; + + int max_objects; /* + * Set to limit the number of objects created. + * 0 = no limit. + */ }; struct yaffs_dev {