Browse Source

fixed dfsv2 openat.

geniusgogo 2 years ago
parent
commit
de567b8fb3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      components/dfs/dfs_v2/src/dfs_posix.c

+ 1 - 1
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);