Add a test.
[bertos.git] / bertos / fs / battfs.h
index b14cb1c659ec2de231a6501dfddc6e510730f696..f46d8c8a80a7944c78e88d832b3c03293245fe7b 100644 (file)
@@ -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;
 
 /**