block: move into own directory
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
parent
1620f28e71
commit
339687cdac
4 changed files with 38 additions and 9 deletions
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue