未验证 提交 126af8e4 编写于 作者: B Bernard Xiong 提交者: GitHub

Merge pull request #4712 from mysterywolf/devfs

[dfs] 将文件系统默认最大数量以及最大类型改为4
......@@ -14,13 +14,11 @@ if RT_USING_DFS
config DFS_FILESYSTEMS_MAX
int "The maximal number of mounted file system"
default 4 if RT_USING_DFS_NFS
default 2
default 4
config DFS_FILESYSTEM_TYPES_MAX
int "The maximal number of file system type"
default 4 if RT_USING_DFS_NFS
default 2
default 4
config DFS_FD_MAX
int "The maximal number of opened files"
......
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册