Remove conversions between VfsStat struct and IoctlStat struct
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user