Skip to content

Commit 00ac932

Browse files
Bump littlefs2-sys
1 parent ec304b8 commit 00ac932

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Cargo.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ default-features = false
2222
version = "0.2"
2323

2424
[dependencies.littlefs2-sys]
25-
version = "0.1.6"
25+
version = "0.2"
2626

2727
[dependencies.serde]
2828
version = "1"
@@ -57,3 +57,6 @@ log-error = []
5757
# member `char name[LFS_NAME_MAX+1]`.
5858
# This means that if we change `traits::Storage::FILENAME_MAX_PLUS_ONE`,
5959
# we need to pass this on!
60+
61+
[patch.crates-io]
62+
littlefs2-sys = { git = "https://github.com/sosthene-nitrokey/littlefs2-sys.git", branch = "update" }

src/fs.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ impl<Storage: driver::Storage> Allocation<Storage> {
132132
name_max: filename_max_plus_one.wrapping_sub(1),
133133
file_max,
134134
attr_max,
135+
metadata_max: 0,
135136
};
136137

137138
Self {

0 commit comments

Comments
 (0)