vfs: add vfs stubs
this also adds a small compatibility layer to the ext2 functions
This commit is contained in:
parent
e3efdde2df
commit
5ebafca2e6
4 changed files with 108 additions and 11 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue