projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add max page offset allocated for the file; add some log and fix some typos.
[bertos.git]
/
bertos
/
fs
/
battfs.h
diff --git
a/bertos/fs/battfs.h
b/bertos/fs/battfs.h
index b14cb1c659ec2de231a6501dfddc6e510730f696..f46d8c8a80a7944c78e88d832b3c03293245fe7b 100644
(file)
--- a/
bertos/fs/battfs.h
+++ b/
bertos/fs/battfs.h
@@
-244,6
+244,7
@@
typedef struct BattFs
BattFsSuper *disk; ///< Disk context
filemode_t mode; ///< File open mode
pgcnt_t *start; ///< Pointer to page_array file start position.
+ pgcnt_t max_off; ///< Max page offset allocated for the file.
} BattFs;
/**