Skip to content

Commit

Permalink
Fix incorrect btree block structure size (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
JSCU-CNI authored Jan 3, 2024
1 parent 06c928d commit 2fafede
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dissect/xfs/c_xfs.py
Original file line number Diff line number Diff line change
Expand Up @@ -608,16 +608,16 @@
uint32_t bb_magic; /* magic number for block type */
uint16_t bb_level; /* 0 is a leaf */
uint16_t bb_numrecs; /* current # of data records */
uint32_t bb_leftsib;
uint32_t bb_rightsib;
uint64_t bb_leftsib;
uint64_t bb_rightsib;
};
struct xfs_btree_lblock_crc {
uint32_t bb_magic; /* magic number for block type */
uint16_t bb_level; /* 0 is a leaf */
uint16_t bb_numrecs; /* current # of data records */
uint32_t bb_leftsib;
uint32_t bb_rightsib;
uint64_t bb_leftsib;
uint64_t bb_rightsib;
uint64_t bb_blkno;
uint64_t bb_lsn;
char bb_uuid[16];
Expand Down

0 comments on commit 2fafede

Please sign in to comment.