Let part_blk export writeable partitions
This commit is contained in:
parent
f4c4eadb21
commit
7ce16922ac
|
@ -134,6 +134,7 @@ namespace Block {
|
||||||
*blk_count = _partition->_sectors;
|
*blk_count = _partition->_sectors;
|
||||||
*blk_size = Partition::blk_size();
|
*blk_size = Partition::blk_size();
|
||||||
ops->set_operation(Packet_descriptor::READ);
|
ops->set_operation(Packet_descriptor::READ);
|
||||||
|
ops->set_operation(Packet_descriptor::WRITE);
|
||||||
}
|
}
|
||||||
|
|
||||||
Partition::Partition *partition() { return _partition; }
|
Partition::Partition *partition() { return _partition; }
|
||||||
|
|
Loading…
Reference in New Issue
Block a user