逻辑修改

This commit is contained in:
sc committed 2025-12-01 23:57:12 +08:00
1 parent c0f455e413
commit 577092a4f9
10 files changed
+22 -21

No files matched your search

@@ -494,7 +494,7 @@ int dfs_tmpfs_stat(struct dfs_filesystem *fs,
if (d_file == NULL)
return -ENOENT;
st->st_dev = (rt_device_t)dfs_filesystem_lookup(fs->path);
st->st_dev = (uintptr_t)dfs_filesystem_lookup(fs->path);
st->st_mode = S_IFREG | S_IRUSR | S_IRGRP | S_IROTH |
S_IWUSR | S_IWGRP | S_IWOTH;
if (d_file->type == TMPFS_TYPE_DIR)