summaryrefslogtreecommitdiff
path: root/components/dfs/filesystems
diff options
context:
space:
mode:
authorguozhanxin <[email protected]>2021-07-12 10:14:20 +0800
committerguozhanxin <[email protected]>2021-07-12 10:14:20 +0800
commit40e7d5a23df65c15bb7db53fe5f77e76701fd20d (patch)
tree4973b28b01d289dd596a097a7560f26b810db771 /components/dfs/filesystems
parentddc5c793a482fe44310bafe181802ad406fa1b29 (diff)
parent5bae565f7f021ab13113fc0a9c67fc468d97de02 (diff)
Merge remote-tracking branch 'remotes/gitee/master'
Diffstat (limited to 'components/dfs/filesystems')
-rw-r--r--components/dfs/filesystems/devfs/devfs.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/components/dfs/filesystems/devfs/devfs.c b/components/dfs/filesystems/devfs/devfs.c
index 2e2248d5cc..d615482452 100644
--- a/components/dfs/filesystems/devfs/devfs.c
+++ b/components/dfs/filesystems/devfs/devfs.c
@@ -313,15 +313,13 @@ static const struct dfs_filesystem_ops _device_fs =
"devfs",
DFS_FS_FLAG_DEFAULT,
&_device_fops,
-
dfs_device_fs_mount,
- RT_NULL,
- RT_NULL,
- RT_NULL,
-
- RT_NULL,
+ RT_NULL, /*unmount*/
+ RT_NULL, /*mkfs*/
+ RT_NULL, /*statfs*/
+ RT_NULL, /*unlink*/
dfs_device_fs_stat,
- RT_NULL,
+ RT_NULL, /*rename*/
};
int devfs_init(void)