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

@ -14,6 +14,7 @@
#include "bootinfo/bootinfo.h"
#include "ipc/pipe/pipe.h"
#include "sysdefs/processctl.h"
#include "sysdefs/ioctl.h"
#define PROC_REAPER_FREQ 30
@ -74,12 +75,12 @@ ElfAuxval proc_load_elf_segs(Proc *proc, uint8_t *data) {
}
Proc *proc_spawnuser(char *mountpoint, char *path) {
VfsStat stat;
IoctlStat stat;
if (vfs_stat(mountpoint, path, &stat) != E_OK) {
return NULL;
}
if (stat.type != VFS_TYPE_FILE) {
if (stat.type != IOCTLSTAT_FILE) {
return NULL;
}