Reduce diff - remove dirty flag as it could be added in a separate change

This commit is contained in:
Jeremy Soller
2018-12-08 08:47:28 -07:00
parent d53fc6afff
commit 3ae32d9901
6 changed files with 16 additions and 40 deletions
+3 -7
View File
@@ -20,10 +20,8 @@ pub struct Header {
pub root: u64,
/// Block of free space node
pub free: u64,
/// True if the filesystem is currently mounted
pub dirty: bool,
/// Padding
pub padding: [u8; BLOCK_SIZE as usize - 57]
pub padding: [u8; BLOCK_SIZE as usize - 56]
}
impl Header {
@@ -35,8 +33,7 @@ impl Header {
size: 0,
root: 0,
free: 0,
dirty:false,
padding: [0; BLOCK_SIZE as usize - 57]
padding: [0; BLOCK_SIZE as usize - 56]
}
}
@@ -49,8 +46,7 @@ impl Header {
size: size,
root: root,
free: free,
dirty:false,
padding: [0; BLOCK_SIZE as usize - 57]
padding: [0; BLOCK_SIZE as usize - 56]
}
}