]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/basic/btrfs-util.c
btrfs-util: fix creating recursive read-only snapshots
authorLennart Poettering <lennart@poettering.net>
Wed, 22 Apr 2015 14:52:53 +0000 (16:52 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 22 Apr 2015 14:52:53 +0000 (16:52 +0200)
commitffb296b2c28c32cccff512e90a1696eaf0c23708
treebe9a665ee258b8965a354e8f30d0587ae8a1862f
parent2f4d3bb91f246532b7c946bb75595a96ee843f29
btrfs-util: fix creating recursive read-only snapshots

When creating recursive read-only snapshots we need to mark the snapshot
writable immediately before creating subsnapshots within it, otherwise
the operation for it will fail.
src/shared/btrfs-util.c