Write
(&self)
| 107 | |
| 108 | // Write |
| 109 | pub fn write(&self) |
| 110 | { |
| 111 | if let Some(ref mut blkdev) = *crate::fs::blkdev::BLKDEV.lock() |
| 112 | { |
| 113 | if blkdev.write(self.address, &self.buffer).is_err() |
| 114 | { |
| 115 | serprintln!("[ERR] COULD NOT WRITE BLOCK: {:#x}", self.address); |
| 116 | } |
| 117 | } |
| 118 | } |
| 119 | } |
| 120 | |
| 121 |
no test coverage detected