Messing around with thing.
Things not working.
This commit is contained in:
+8
-1
@@ -4,7 +4,14 @@ const io = std.io;
|
||||
pub const InodeRef = packed struct {
|
||||
offset: u16,
|
||||
block_start: u32,
|
||||
_: u16,
|
||||
_: u16 = 0,
|
||||
|
||||
pub fn init(block_start: u32, offset: u16) InodeRef {
|
||||
return .{
|
||||
.offset = offset,
|
||||
.block_start = block_start,
|
||||
};
|
||||
}
|
||||
};
|
||||
|
||||
pub const InodeType = enum(u16) {
|
||||
|
||||
Reference in New Issue
Block a user