yaffs Direct: Add feature to limit the number of files that may be created on a singl...
[yaffs2.git] / yaffs_guts.h
index 6ec8a47b1d45d89413e9f999d8daaa2fc51f3bf3..b6d51299d87ffbc6ba8cac87a470b8872726249c 100644 (file)
@@ -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;