Skip to content

Commit eeb4cda

Browse files
committed
[FIX][DFSv2][ELMFAT]解决dfs_elm_unlink在FF_VOLUMES为1时赋值drivers_fn引用未定义变量导致编译报错的问题
1 parent 754d517 commit eeb4cda

File tree

1 file changed

+1
-1
lines changed
  • components/dfs/dfs_v2/filesystems/elmfat

1 file changed

+1
-1
lines changed

components/dfs/dfs_v2/filesystems/elmfat/dfs_elm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -783,7 +783,7 @@ int dfs_elm_unlink(struct dfs_dentry *dentry)
783783
rt_snprintf(drivers_fn, 256, "%d:%s", vol, dentry->pathname);
784784
#else
785785
const char *drivers_fn;
786-
drivers_fn = path;
786+
drivers_fn = dentry->pathname;
787787
#endif
788788

789789
result = f_unlink(drivers_fn);

0 commit comments

Comments
 (0)