vfs: add vfs stubs

this also adds a small compatibility layer to the ext2 functions
This commit is contained in:
Michael Shaw 2023-10-19 01:03:27 -04:00
commit 5ebafca2e6
4 changed files with 108 additions and 11 deletions

View file

@ -132,14 +132,6 @@ struct ext2_dir_entry {
char name[];
} PACKED;
struct ext2_file {
struct ext2_inode inode;
uint32_t block;
uint32_t offset;
uint64_t size;
uint32_t pos;
};
struct ext2fs {
struct ext2_superblock sb;
struct block_device *bdev;