diff options
author | Lennart Poettering <lennart@poettering.net> | 2021-02-26 15:00:29 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2021-08-02 17:24:23 +0200 |
commit | 28ba7e36d0b6b3f5b9dc4922d689fd8c27303b61 (patch) | |
tree | 8bed4e02cf40ea984eee4e0e64ae09aabc0b963f /src/shared/btrfs-util.h | |
parent | copy: add COPY_SIGTERM, matching the existing COPY_SIGINT (diff) | |
download | systemd-28ba7e36d0b6b3f5b9dc4922d689fd8c27303b61.tar.xz systemd-28ba7e36d0b6b3f5b9dc4922d689fd8c27303b61.zip |
btrfs-util: expose COPY_SIGTERM for btrfs_snapshot() too
Diffstat (limited to '')
-rw-r--r-- | src/shared/btrfs-util.h | 1 |
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 { |