From df85c74265e09abcd1d9ca138b898f1ce5fbf591 Mon Sep 17 00:00:00 2001 From: angryproton Date: Thu, 25 Dec 2025 22:50:13 +0800 Subject: [FIX][DFSv2][ELMFAT]解决dfs_elm_unlink在FF_VOLUMES为1时赋值drivers_fn引用未定义变量导致编译报错的问题 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/dfs/dfs_v2/filesystems/elmfat/dfs_elm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'components') diff --git a/components/dfs/dfs_v2/filesystems/elmfat/dfs_elm.c b/components/dfs/dfs_v2/filesystems/elmfat/dfs_elm.c index 8ddeec2d42..90b87a178b 100644 --- a/components/dfs/dfs_v2/filesystems/elmfat/dfs_elm.c +++ b/components/dfs/dfs_v2/filesystems/elmfat/dfs_elm.c @@ -784,7 +784,7 @@ int dfs_elm_unlink(struct dfs_dentry *dentry) rt_snprintf(drivers_fn, 256, "%d:%s", vol, dentry->pathname); #else const char *drivers_fn; - drivers_fn = path; + drivers_fn = dentry->pathname; #endif result = f_unlink(drivers_fn); -- cgit v1.3.1