block: move into own directory

Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
Michael Shaw 2026-07-14 19:10:34 -04:00
commit 339687cdac
4 changed files with 38 additions and 9 deletions

View file

@ -20,13 +20,16 @@ struct disk {
};
struct block_device {
char name[256];
dev_t dev;
char name[256];
size_t size;
size_t block_size;
struct block_ops ops;
void *priv;
size_t lba_start;
struct block_device *part_of; /* if it is a partition */
struct block_ops ops;
struct disk disk;
};