4 #define BTRFS_SUPER_MAGIC 0x9123683E
5 #define BTRFS_SUPER_INFO_OFFSET (64 * 1024)
6 #define BTRFS_SUPER_INFO_SIZE 4096
7 #define BTRFS_MAGIC "_BHRfS_M"
8 #define BTRFS_CSUM_SIZE 32
9 #define BTRFS_FSID_SIZE 16
11 struct btrfs_super_block
{
12 unsigned char csum
[BTRFS_CSUM_SIZE
];
13 /* the first 3 fields must match struct btrfs_header */
14 unsigned char fsid
[BTRFS_FSID_SIZE
]; /* FS specific uuid */
15 u64 bytenr
; /* this block number */
18 /* allowed to be different from the btrfs_header from here own down */
20 } __attribute__ ((__packed__
));