Remove conversions between VfsStat struct and IoctlStat struct

This commit is contained in:
2025-10-03 19:55:14 +02:00
parent 443cf0e4ff
commit c30d2d2ea6
6 changed files with 11 additions and 28 deletions

View File

@ -152,14 +152,7 @@ int32_t SYSCALL5(sys_ioctl, ioh1, cmd1, arg1, arg2, arg3) {
path_parse(opath, mp, path);
VfsStat stat1;
ret = vfs_stat(mp, path, &stat1);
if (ret != E_OK) {
goto done;
}
iostat->size = stat1.size;
iostat->type = stat1.type;
ret = vfs_stat(mp, path, iostat);
} break;
case IOCTL_FETCHDIRENT: {
const char *opath = (const char *)arg1;