projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Set up new version of case insensitive code using sed
[yaffs2.git]
/
yaffs_guts.h
diff --git
a/yaffs_guts.h
b/yaffs_guts.h
index 72e86a8479d6f089fc0c695297ad8837b29b63b9..b3bc574a51b29fe2b99159898e9ea27157a765bd 100644
(file)
--- a/
yaffs_guts.h
+++ b/
yaffs_guts.h
@@
-603,6
+603,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 {
@@
-960,5
+965,7
@@
void yaffs_addr_to_chunk(struct yaffs_dev *dev, loff_t addr,
*/
void yaffs_oh_size_load(struct yaffs_obj_hdr *oh, loff_t fsize);
loff_t yaffs_oh_to_size(struct yaffs_obj_hdr *oh);
*/
void yaffs_oh_size_load(struct yaffs_obj_hdr *oh, loff_t fsize);
loff_t yaffs_oh_to_size(struct yaffs_obj_hdr *oh);
+loff_t yaffs_max_file_size(struct yaffs_dev *dev);
+
#endif
#endif