yaffs Direct: Add feature to limit the number of files that may be created on a singl...
[yaffs2.git] / yaffs_guts.h
index 490122aa16679ae8d46162f083a88661e50c1795..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 {