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