ext2: add unlink
This commit is contained in:
parent
e42eb8d714
commit
2bcd8dc6be
4 changed files with 100 additions and 6 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue