diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-11-22 23:15:07 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-22 23:15:07 -0500 |
commit | c5c755e1bc76165a635e7036b0f7888395d82ae7 (patch) | |
tree | 0cb11269133a7e215c0ef21833975ce5702885d3 /src/basic/btrfs-util.h | |
parent | 1a1b13c9573b8cd30a4ab8dca2ec7961e460f083 (diff) | |
parent | acbbf69b718260755a5dff60dd68ba239ac0d61b (diff) |
Merge pull request #4693 from poettering/nspawn-ephemeral
nspawn: support ephemeral boots from images
Diffstat (limited to 'src/basic/btrfs-util.h')
-rw-r--r-- | src/basic/btrfs-util.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/basic/btrfs-util.h b/src/basic/btrfs-util.h index 1d852d502c..04a2e1274b 100644 --- a/src/basic/btrfs-util.h +++ b/src/basic/btrfs-util.h @@ -45,10 +45,12 @@ typedef struct BtrfsQuotaInfo { } BtrfsQuotaInfo; typedef enum BtrfsSnapshotFlags { - BTRFS_SNAPSHOT_FALLBACK_COPY = 1, + BTRFS_SNAPSHOT_FALLBACK_COPY = 1, /* If the source isn't a subvolume, reflink everything */ BTRFS_SNAPSHOT_READ_ONLY = 2, BTRFS_SNAPSHOT_RECURSIVE = 4, BTRFS_SNAPSHOT_QUOTA = 8, + BTRFS_SNAPSHOT_FALLBACK_DIRECTORY = 16, /* If the destination doesn't support subvolumes, reflink/copy instead */ + BTRFS_SNAPSHOT_FALLBACK_IMMUTABLE = 32, /* When we can't create a subvolume, use the FS_IMMUTABLE attribute for indicating read-only */ } BtrfsSnapshotFlags; typedef enum BtrfsRemoveFlags { |