We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c8730a commit 217484eCopy full SHA for 217484e
lib/fs/fat/file.cpp
@@ -53,7 +53,7 @@ bool fat_file::dec_ref() {
53
}
54
55
status_t fat_file::open_file_priv(const dir_entry &entry, const dir_entry_location &loc) {
56
- Guard<Mutex> guard{&fs_->lock};
+ DEBUG_ASSERT(fs_->lock.lock().IsHeld());
57
58
LTRACEF("found file at location %u:%u\n", loc.starting_dir_cluster, loc.dir_offset);
59
0 commit comments