dfsv2 code tidy. (#8374)

This commit is contained in:
geniusgogo
2023-12-16 18:06:47 +08:00
committed by GitHub
parent 4658267117
commit 6b22a0a2b7
8 changed files with 201 additions and 275 deletions

View File

@@ -961,7 +961,7 @@ static struct dfs_file *lwp_fd_get(int fdt_type, int fd)
{
fdt = dfs_fdtable_get();
}
return fdt_fd_get(fdt, fd);
return fdt_get_file(fdt, fd);
}
static void lwp_fd_release(int fdt_type, int fd)