summaryrefslogtreecommitdiff
path: root/src/shared/btrfs-util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2021-02-26 15:00:29 +0100
committerLennart Poettering <lennart@poettering.net>2021-08-02 17:24:23 +0200
commit28ba7e36d0b6b3f5b9dc4922d689fd8c27303b61 (patch)
tree8bed4e02cf40ea984eee4e0e64ae09aabc0b963f /src/shared/btrfs-util.h
parent1ac404cac095f1aaf581b107895e8b06fa8db6d0 (diff)
downloadsystemd-28ba7e36d0b6b3f5b9dc4922d689fd8c27303b61.tar.gz
btrfs-util: expose COPY_SIGTERM for btrfs_snapshot() too
Diffstat (limited to 'src/shared/btrfs-util.h')
-rw-r--r--src/shared/btrfs-util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/btrfs-util.h b/src/shared/btrfs-util.h
index 7b18f57719..b67a4c10fe 100644
--- a/src/shared/btrfs-util.h
+++ b/src/shared/btrfs-util.h
@@ -35,6 +35,7 @@ typedef enum BtrfsSnapshotFlags {
BTRFS_SNAPSHOT_FALLBACK_DIRECTORY = 1 << 4, /* If the destination doesn't support subvolumes, reflink/copy instead */
BTRFS_SNAPSHOT_FALLBACK_IMMUTABLE = 1 << 5, /* When we can't create a subvolume, use the FS_IMMUTABLE attribute for indicating read-only */
BTRFS_SNAPSHOT_SIGINT = 1 << 6, /* Check for SIGINT regularly, and return EINTR if seen */
+ BTRFS_SNAPSHOT_SIGTERM = 1 << 7, /* Ditto, but for SIGTERM */
} BtrfsSnapshotFlags;
typedef enum BtrfsRemoveFlags {