提交 58260bf5 编写于 作者: E evanscjv 提交者: Gitee

Bugfix for fatfs double lock

上级 34255685
......@@ -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.
先完成此消息的编辑!
想要评论请 注册