diff options
author | Anton Kling <anton@kling.gg> | 2023-11-14 20:41:51 +0100 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2023-11-15 00:24:43 +0100 |
commit | a3346b994689f4d25cbfad89b7213e8dcf0fde10 (patch) | |
tree | 3af801bc5a6908c590b1a3778cb1c3d340ce018b /kernel/fs/ext2.h | |
parent | 6409d37d365778436e08b07221153454b0be6e57 (diff) |
ext2: Bug fix. Add padding to the block group descriptor.
Diffstat (limited to 'kernel/fs/ext2.h')
-rw-r--r-- | kernel/fs/ext2.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/fs/ext2.h b/kernel/fs/ext2.h index d619703..55fcbe1 100644 --- a/kernel/fs/ext2.h +++ b/kernel/fs/ext2.h @@ -70,6 +70,8 @@ typedef struct BlockGroupDescriptorTable { u16 num_unallocated_blocks_in_group; u16 num_unallocated_inodes_in_group; u16 num_directories_group; + u16 padding; + u8 reserved[12]; } __attribute__((packed)) bgdt_t; typedef struct INode { |