]> git.ipfire.org Git - thirdparty/systemd.git/commit
btrfs-util: Add BTRFS_SNAPSHOT_LOCK_BSD 27863/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 28 Mar 2023 10:32:51 +0000 (12:32 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 20 Jun 2023 11:42:41 +0000 (13:42 +0200)
commitd54f60c2af4bb5b0df9861b40f2a2609bacb768b
tree2391e6aba7820b8a06fc4b87ec6e5a390ef05651
parent01428141ba42a06d22f2c0e0df26049e700f4098
btrfs-util: Add BTRFS_SNAPSHOT_LOCK_BSD

When making ephemeral snapshots of subvolumes whose cleanup depends on
whether they're locked or not, it's necessary to have the lock from the
very beginning, so let's support that with a new BTRFS_SNAPSHOT_LOCK_BSD
flag.
src/shared/btrfs-util.c
src/shared/btrfs-util.h
src/test/test-btrfs.c