mirror of
https://gitee.com/Vancouver2017/luban-lite.git
synced 2025-12-17 01:28:54 +00:00
V1.0.5
This commit is contained in:
@@ -591,6 +591,9 @@ int dfs_unmount_device(rt_device_t dev)
|
||||
for (iter = &filesystem_table[0];
|
||||
iter < &filesystem_table[DFS_FILESYSTEMS_MAX]; iter++)
|
||||
{
|
||||
if (iter->dev_id == NULL)
|
||||
continue;
|
||||
|
||||
/* check if the PATH is mounted */
|
||||
if (strcmp(iter->dev_id->parent.name, dev->parent.name) == 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user