ext2: add unlink

This commit is contained in:
Michael Shaw 2025-02-24 19:35:23 -05:00
commit 2bcd8dc6be
4 changed files with 100 additions and 6 deletions

View file

@ -216,7 +216,7 @@ int vfs_statf(struct file *file, struct statbuf *statbuf)
int unlink(const char *pathname)
{
return rootfs->ops->unlink(rootfs, pathname);
return -ENOSYS;
}
char *basename(char *path)