!20 【轻量级 PR】:Bugfix for fatfs double lock
Merge pull request !20 from evanscjv/N/A
This commit is contained in:
commit
37eba37901
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue