projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add Waldemar's patches for Linux 3.2
[yaffs2.git]
/
yaffs_guts.h
diff --git
a/yaffs_guts.h
b/yaffs_guts.h
index 6ec8a47b1d45d89413e9f999d8daaa2fc51f3bf3..b6d51299d87ffbc6ba8cac87a470b8872726249c 100644
(file)
--- 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 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 {
};
struct yaffs_dev {
@@
-744,7
+749,7
@@
struct yaffs_dev {
u32 oldest_dirty_gc_count;
u32 n_gc_blocks;
u32 bg_gcs;
u32 oldest_dirty_gc_count;
u32 n_gc_blocks;
u32 bg_gcs;
- u32 n_ret
ir
ed_writes;
+ u32 n_ret
ri
ed_writes;
u32 n_retired_blocks;
u32 n_ecc_fixed;
u32 n_ecc_unfixed;
u32 n_retired_blocks;
u32 n_ecc_fixed;
u32 n_ecc_unfixed;