diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-12-28 02:05:28 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-12-28 02:08:40 +0100 |
commit | b6b1849830f5e4a6065c3b0c993668e500c954d3 (patch) | |
tree | 6c7a086974d703a0e15535bf341ce66dac03b388 /src/shared/missing.h | |
parent | 814f000872fc2d254250831607bdca9b27e5705e (diff) |
machined: add support for reporting image size via btrfs quota
Diffstat (limited to 'src/shared/missing.h')
-rw-r--r-- | src/shared/missing.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/shared/missing.h b/src/shared/missing.h index 08cf83647d..94d9d8d35d 100644 --- a/src/shared/missing.h +++ b/src/shared/missing.h @@ -254,10 +254,30 @@ struct btrfs_ioctl_fs_info_args { #define BTRFS_FIRST_FREE_OBJECTID 256 #endif +#ifndef BTRFS_ROOT_TREE_OBJECTID +#define BTRFS_ROOT_TREE_OBJECTID 1 +#endif + +#ifndef BTRFS_QUOTA_TREE_OBJECTID +#define BTRFS_QUOTA_TREE_OBJECTID 8ULL +#endif + #ifndef BTRFS_ROOT_ITEM_KEY #define BTRFS_ROOT_ITEM_KEY 132 #endif +#ifndef BTRFS_QGROUP_STATUS_KEY +#define BTRFS_QGROUP_STATUS_KEY 240 +#endif + +#ifndef BTRFS_QGROUP_INFO_KEY +#define BTRFS_QGROUP_INFO_KEY 242 +#endif + +#ifndef BTRFS_QGROUP_LIMIT_KEY +#define BTRFS_QGROUP_LIMIT_KEY 244 +#endif + #ifndef BTRFS_SUPER_MAGIC #define BTRFS_SUPER_MAGIC 0x9123683E #endif |