X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=yaffs_guts.h;h=b6d51299d87ffbc6ba8cac87a470b8872726249c;hp=6ec8a47b1d45d89413e9f999d8daaa2fc51f3bf3;hb=dd11c8153f7abaa9d567fe8cbea139b7f251edb5;hpb=15af6e2cb583775682c96af704505bd7440a8551 diff --git a/yaffs_guts.h b/yaffs_guts.h index 6ec8a47..b6d5129 100644 --- a/yaffs_guts.h +++ b/yaffs_guts.h @@ -587,6 +587,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 { @@ -744,7 +749,7 @@ struct yaffs_dev { u32 oldest_dirty_gc_count; u32 n_gc_blocks; u32 bg_gcs; - u32 n_retired_writes; + u32 n_retried_writes; u32 n_retired_blocks; u32 n_ecc_fixed; u32 n_ecc_unfixed;