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

@ -24,7 +24,7 @@ static int devfs_write(struct vnode *vnode, void *buf, size_t offset, size_t siz
}
/* devfs does not support unlink */
static int devfs_unlink(struct fs *fs, const char *path)
static int devfs_unlink(struct vnode *parent, const char *path)
{
return -EINVAL;
}