[DFS] prepare for dfs_v2.0 (#7200)

* [DFS] prepare for dfs_v2. dfs_fd -> dfs_file; dfs_fnode -> dfs_vnode.

* [BSP] fix code analysis warning

* [smart] fix the pointer overflow.

* code format

* [smart] fix the lwp->lwp_obj checking.
This commit is contained in:
Bernard Xiong
2023-04-08 22:25:51 +08:00
committed by GitHub
parent 7fbe8bbd49
commit 9600b75b55
56 changed files with 494 additions and 480 deletions

View File

@@ -135,7 +135,7 @@ static void __exit_files(struct rt_lwp *lwp)
while (fd >= 0)
{
struct dfs_fd *d;
struct dfs_file *d;
d = lwp->fdt.fds[fd];
if (d)