1 /*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
5 #include "sparse-endian.h"
7 /* Stolen from btrfs' ctree.h */
9 struct btrfs_timespec {
14 struct btrfs_disk_key {
20 struct btrfs_inode_item {
34 struct btrfs_timespec atime;
35 struct btrfs_timespec ctime;
36 struct btrfs_timespec mtime;
37 struct btrfs_timespec otime;
40 struct btrfs_root_item {
41 struct btrfs_inode_item inode;
50 struct btrfs_disk_key drop_progress;
54 uint8_t uuid[BTRFS_UUID_SIZE];
55 uint8_t parent_uuid[BTRFS_UUID_SIZE];
56 uint8_t received_uuid[BTRFS_UUID_SIZE];
61 struct btrfs_timespec ctime;
62 struct btrfs_timespec otime;
63 struct btrfs_timespec stime;
64 struct btrfs_timespec rtime;
68 #define BTRFS_ROOT_SUBVOL_RDONLY (1ULL << 0)