parent
df9387c28f
commit
527f6cf86e
|
@ -350,7 +350,7 @@ int FatfsUmount(struct MountPoint *mp)
|
||||||
}
|
}
|
||||||
|
|
||||||
volId = GetPartIdByPartName(mp->mDev);
|
volId = GetPartIdByPartName(mp->mDev);
|
||||||
/* umount is not allowed when a file or diretory is opened. */
|
/* umount is not allowed when a file or directory is opened. */
|
||||||
if (f_checkopenlock(volId) != FR_OK) {
|
if (f_checkopenlock(volId) != FR_OK) {
|
||||||
errno = EBUSY;
|
errno = EBUSY;
|
||||||
ret = LOS_NOK;
|
ret = LOS_NOK;
|
||||||
|
|
|
@ -203,7 +203,7 @@ STATIC INLINE BOOL OsSchedScanTimerList(VOID)
|
||||||
* (per cpu) and ipc(mutex,sem and etc.)'s block at the same time, it can be waken
|
* (per cpu) and ipc(mutex,sem and etc.)'s block at the same time, it can be waken
|
||||||
* up by either timeout or corresponding ipc it's waiting.
|
* up by either timeout or corresponding ipc it's waiting.
|
||||||
*
|
*
|
||||||
* Now synchronize sortlink procedure is used, therefore the whole task scan needs
|
* Now synchronize sortlink procedure is used, thereforee the whole task scan needs
|
||||||
* to be protected, preventing another core from doing sortlink deletion at same time.
|
* to be protected, preventing another core from doing sortlink deletion at same time.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue