ext2: add ability to read inodes

This commit is contained in:
Michael Shaw 2023-06-26 00:11:39 -04:00
commit f8124e4b78
4 changed files with 104 additions and 5 deletions

View file

@ -22,6 +22,7 @@ struct block_device *block_register(char *name, struct block_device_ops *ops, vo
bdev->block_count = block_count;
bdev->block_size = block_size;
bdev->lba_start = 0;
bdev->fs = NULL;
memcpy(&bdev->ops, ops, sizeof(struct block_device_ops));
block_devices[block_devices_count] = bdev;