Skip to content

Commit 72246e4

Browse files
elpieleldruin
authored andcommitted
docs: add fixme for opening files bug
Signed-off-by: Lachezar Lechev <[email protected]>
1 parent 5a93712 commit 72246e4

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
@@ -397,6 +397,8 @@ where
397397
_ => {
398398
// Safe to unwrap, since we actually have an entry if we got here
399399
let dir_entry = dir_entry.unwrap();
400+
// FIXME: if 2 files are in the same cluster this will cause an error when opening
401+
// a file for a first time in a different than `ReadWriteCreate` mode.
400402
self.open_dir_entry(volume, dir_entry, mode)
401403
}
402404
}

0 commit comments

Comments
 (0)