From 10f9c75519671e7c7ab8993b54fe22da7c2d0c38 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 25 Dec 2014 03:19:19 +0100 Subject: machined: beef up machined image listing with creation/modification times of subvolumes We make use of the btrfs subvol crtime for this, and for gpt images of a manually managed xattr, if we can. --- src/shared/missing.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/shared/missing.h') diff --git a/src/shared/missing.h b/src/shared/missing.h index 91a6215226..dd7bef4d9d 100644 --- a/src/shared/missing.h +++ b/src/shared/missing.h @@ -250,6 +250,14 @@ struct btrfs_ioctl_fs_info_args { struct btrfs_ioctl_vol_args) #endif +#ifndef BTRFS_FIRST_FREE_OBJECTID +#define BTRFS_FIRST_FREE_OBJECTID 256 +#endif + +#ifndef BTRFS_ROOT_ITEM_KEY +#define BTRFS_ROOT_ITEM_KEY 132 +#endif + #ifndef BTRFS_SUPER_MAGIC #define BTRFS_SUPER_MAGIC 0x9123683E #endif -- cgit v1.2.3-54-g00ecf