Browse Source

fixed dfsv2 openat.

geniusgogo 3 năm trước cách đây
mục cha
commit
de567b8fb3
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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);