Adding debian version 4.03+dfsg-7.
[syslinux-debian/hramrach.git] / extlinux / btrfs.h
blob39a861a59b3fd632236eec8446df09c371d75a44
1 #ifndef _BTRFS_H_
2 #define _BTRFS_H_
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 */
16 u64 flags;
18 /* allowed to be different from the btrfs_header from here own down */
19 u64 magic;
20 } __attribute__ ((__packed__));
22 #endif