Skip to content

Commit 91b793c

Browse files
authored
Merge pull request #15306 from horeich/dev
Add missing unlock() in file_truncate in FATFileSystem
2 parents daf6112 + e42fa8f commit 91b793c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

storage/filesystem/fat/source/FATFileSystem.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -755,6 +755,7 @@ int FATFileSystem::file_truncate(fs_file_t file, off_t length)
755755
return fat_error_remap(res);
756756
}
757757

758+
unlock();
758759
return 0;
759760
}
760761

0 commit comments

Comments
 (0)