ext2: use struct vnode instead of struct file

This commit is contained in:
Michael Shaw 2024-01-26 18:41:09 -05:00
commit d61edcbe7b
6 changed files with 55 additions and 28 deletions

View file

@ -182,7 +182,7 @@ int kcmd_stat(int argc, char **argv)
}
kprintf("File: %s\n", argv[1]);
kprintf("Size: %d\n", file->vnode.size);
kprintf("Size: %d\n", file->vnode->size);
return 0;
}