Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/littlefs-project/littlefs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lfs.h
diff options
context:
space:
mode:
authorChristopher Haster <chaster@utexas.edu>2017-04-29 20:41:53 +0300
committerChristopher Haster <chaster@utexas.edu>2017-05-08 08:37:58 +0300
commita30142e0e17d0acf5fbb7605e40954bbf02e94bb (patch)
tree80af7075fd428670cdae52e7672192d402b82fa0 /lfs.h
parent210b487325d885c1726653294fe99ff6b9aa638f (diff)
Fixed allocation bugs near the end of storage
Also added better testing specifically for these corner cases around the end of storage
Diffstat (limited to 'lfs.h')
-rw-r--r--lfs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lfs.h b/lfs.h
index a3b80cb..a1017f5 100644
--- a/lfs.h
+++ b/lfs.h
@@ -195,6 +195,7 @@ typedef struct lfs {
lfs_size_t words; // number of 32-bit words that can fit in a block
lfs_block_t root[2];
+ lfs_dir_t *scratch;
lfs_file_t *files;
struct {