add missing unlock in file_truncate in FATFileSystem

pull/15306/head
Andreas Reichle 2022-07-04 11:21:50 +02:00
parent daf61122e8
commit e42fa8ffe3
1 changed files with 1 additions and 0 deletions

View File

@ -755,6 +755,7 @@ int FATFileSystem::file_truncate(fs_file_t file, off_t length)
return fat_error_remap(res);
}
unlock();
return 0;
}