summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorgeniusgogo <[email protected]>2023-05-16 17:53:09 +0800
committerguo <[email protected]>2023-05-16 18:21:24 +0800
commitde567b8fb3c85de7b1fe496a696e82a2a2b57a1d (patch)
tree136db74990815bcefdd618729d8faf77a144f776 /components
parentcc51b53b21b8ae7a2a6f595364b42fef32d899b7 (diff)
fixed dfsv2 openat.
Diffstat (limited to 'components')
-rw-r--r--components/dfs/dfs_v2/src/dfs_posix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/dfs/dfs_v2/src/dfs_posix.c b/components/dfs/dfs_v2/src/dfs_posix.c
index b0b7e3dd16..ca182ee1eb 100644
--- a/components/dfs/dfs_v2/src/dfs_posix.c
+++ b/components/dfs/dfs_v2/src/dfs_posix.c
@@ -90,7 +90,7 @@ int openat(int dirfd, const char *path, int flag, ...)
return -1;
}
- fullpath = dfs_normalize_path(d->vnode->fullpath, path);
+ fullpath = dfs_dentry_full_path(d->dentry);
if (!fullpath)
{
rt_set_errno(-ENOMEM);