vbos/fs/vfs.c
Michael Shaw 5ebafca2e6 vfs: add vfs stubs
this also adds a small compatibility layer to the ext2 functions
2023-10-19 01:22:16 -04:00

30 lines
378 B
C

/* SDPX-License-Identifier: GPL-2.0-only */
#include <fs/vfs.h>
#include <kernel/slab.h>
#include <kernel/block.h>
void vfs_init(struct block_device *root)
{
}
int write(int fd, const void *buf, size_t count)
{
return 0;
}
int read(int fd, void *buf, size_t count)
{
return 0;
}
int open(const char *pathname, int flags)
{
return 0;
}
int close(int fd)
{
return 0;
}