Skip to content

Commit e42fa8f

Browse files
committed
add missing unlock in file_truncate in FATFileSystem
1 parent daf6112 commit e42fa8f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

storage/filesystem/fat/source/FATFileSystem.cpp

Lines changed: 1 addition & 0 deletions
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)