diff options
| author | Meco Man <[email protected]> | 2021-11-17 15:57:15 -0500 |
|---|---|---|
| committer | Meco Man <[email protected]> | 2021-11-17 15:57:15 -0500 |
| commit | df9a23c534f57e6f5b06acfbe6db8b636894e0ad (patch) | |
| tree | a59dee4012835d6a8d1d1b4566b4a49a719798bd /components/dfs/src | |
| parent | fbca0c7f7d195eb8901902c4f94f4bab4395db61 (diff) | |
[mutex] use RT_IPC_FLAG_PRIO to replace RT_IPC_FLAG_FIFO
Diffstat (limited to 'components/dfs/src')
| -rw-r--r-- | components/dfs/src/dfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/dfs/src/dfs.c b/components/dfs/src/dfs.c index 29b2068a6c..51ae53de17 100644 --- a/components/dfs/src/dfs.c +++ b/components/dfs/src/dfs.c @@ -63,7 +63,7 @@ int dfs_init(void) memset(&_fdtab, 0, sizeof(_fdtab)); /* create device filesystem lock */ - rt_mutex_init(&fslock, "fslock", RT_IPC_FLAG_FIFO); + rt_mutex_init(&fslock, "fslock", RT_IPC_FLAG_PRIO); #ifdef DFS_USING_WORKDIR /* set current working directory */ |
