]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/basic/btrfs-util.h
btrfs-util: expose SIGINT behaviour in snapshot copy fallback, too
[thirdparty/systemd.git] / src / basic / btrfs-util.h
index 7d848a75d36169caa152aa0cfdb6d2aa8767008c..b15667bf2f8336246fef994b29611019d3fc81d5 100644 (file)
@@ -34,6 +34,7 @@ typedef enum BtrfsSnapshotFlags {
         BTRFS_SNAPSHOT_QUOTA              = 1 << 3,
         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 */
 } BtrfsSnapshotFlags;
 
 typedef enum BtrfsRemoveFlags {