We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f004ff1 commit 2a83353Copy full SHA for 2a83353
components/dfs/src/dfs_fs.c
@@ -22,6 +22,7 @@
22
* 2005-02-22 Bernard The first version.
23
* 2010-06-30 Bernard Optimize for RT-Thread RTOS
24
* 2011-03-12 Bernard fix the filesystem lookup issue.
25
+ * 2017-11-30 Bernard fix the filesystem_operation_table issue.
26
*/
27
28
#include <dfs_fs.h>
@@ -252,7 +253,7 @@ int dfs_mount(const char *device_name,
252
253
254
for (ops = &filesystem_operation_table[0];
255
ops < &filesystem_operation_table[DFS_FILESYSTEM_TYPES_MAX]; ops++)
- if ((ops != NULL) && (strcmp((*ops)->name, filesystemtype) == 0))
256
+ if ((*ops != NULL) && (strcmp((*ops)->name, filesystemtype) == 0))
257
break;
258
259
dfs_unlock();
0 commit comments