提交 37eba379 编写于 作者: O openharmony_ci 提交者: Gitee

!20 【轻量级 PR】:Bugfix for fatfs double lock

Merge pull request !20 from evanscjv/N/A
......@@ -490,7 +490,7 @@ int fatfs_unbind(void *handle, struct inode **blkdriver)
SETUP_SEARCH(&desc, g_fatVirPart.virtualinfo.devpartpath, false);
FatfsVirtLock();
result = FatFsUnbindVirPart(fat);
FatfsVirtLock();
FatfsVirtUnlock();
if (result == FR_OK) {
part = los_part_find(DiskDev[index]);
(void)inode_find(&desc);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册