Merge branch 'fix/fatfs_missing_release_v5.2' into 'release/v5.2'

fix(storage/fatfs): add missing lock release introduced by IMMEDIATE_FSYNC (v5.2)

See merge request espressif/esp-idf!26956
This commit is contained in:
Ivan Grokhotkov 2023-11-14 20:14:01 +08:00
commit 11a92e3dbd

View File

@ -424,6 +424,7 @@ static ssize_t vfs_fat_write(void* ctx, int fd, const void * data, size_t size)
if (res != FR_OK) {
ESP_LOGD(TAG, "%s: fresult=%d", __func__, res);
errno = fresult_to_errno(res);
_lock_release(&fat_ctx->lock);
return -1;
}
}