Skip to content

Commit a821037

Browse files
committed
docs: add fixme for opening files bug
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
1 parent ffed79e commit a821037

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/controller.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -376,6 +376,8 @@ where
376376
_ => {
377377
// Safe to unwrap, since we actually have an entry if we got here
378378
let dir_entry = dir_entry.unwrap();
379+
// FIXME: if 2 files are in the same cluster this will cause an error when opening
380+
// a file for a first time in a different than `ReadWriteCreate` mode.
379381
self.open_dir_entry(volume, dir_entry, mode)
380382
}
381383
}

0 commit comments

Comments
 (0)