btrfs-util: support recursive removal of read-only subvolumes
authorLennart Poettering <lennart@poettering.net>
Wed, 22 Apr 2015 15:09:20 +0000 (17:09 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 22 Apr 2015 15:09:20 +0000 (17:09 +0200)
commit3986b2581c5832a18bcd7449642a37052443e5ed
treee78d841199544fbdc4d6fe607afb22f0a998b70f
parentaee327b8169670986f6a48acbd5ffe1355bfcf27
btrfs-util: support recursive removal of read-only subvolumes

When deleting a read-only subsvolume with a sub-subvolume, we need to
mark it writable first, otherwise the removal will not work.
src/shared/btrfs-util.c