projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Refactor countFileSize to return the size directly.
[bertos.git]
/
bertos
/
fs
/
battfs.h
diff --git
a/bertos/fs/battfs.h
b/bertos/fs/battfs.h
index d5afb523212502ecff53fed2a478fa546621ee11..e0829917ddce66b33f25a442389fd1b6f16db8ae 100644
(file)
--- a/
bertos/fs/battfs.h
+++ b/
bertos/fs/battfs.h
@@
-194,6
+194,8
@@
typedef struct BattFsSuper
* the entire disk in memory.
*/
pgcnt_t *page_array;
* the entire disk in memory.
*/
pgcnt_t *page_array;
+ pgcnt_t curr_page;
+ bool cache_dirty;
/**
* Lowest address, in page array, for free pages.
/**
* Lowest address, in page array, for free pages.