btrfs-ctree.h revision 10f9c75519671e7c7ab8993b54fe22da7c2d0c38
/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
#pragma once
#include "sparse-endian.h"
/* Stolen from btrfs' ctree.h */
struct btrfs_timespec {
} _packed_;
struct btrfs_disk_key {
} _packed_;
struct btrfs_inode_item {
struct btrfs_timespec atime;
struct btrfs_timespec ctime;
struct btrfs_timespec mtime;
struct btrfs_timespec otime;
} _packed_;
struct btrfs_root_item {
struct btrfs_inode_item inode;
struct btrfs_disk_key drop_progress;
struct btrfs_timespec ctime;
struct btrfs_timespec otime;
struct btrfs_timespec stime;
struct btrfs_timespec rtime;
} _packed_;
#define BTRFS_ROOT_SUBVOL_RDONLY (1ULL << 0)