chiark / gitweb /
btrfs: support recursively removing btrfs snapshots
[elogind.git] / src / shared / machine-image.c
index f166e9410d0f1385cdad959a92a92cb8687c2e3c..fb72123f1a80e43b2ee2b38dc66c87c63a089089 100644 (file)
@@ -358,7 +358,7 @@ int image_remove(Image *i) {
         switch (i->type) {
 
         case IMAGE_SUBVOLUME:
-                return btrfs_subvol_remove(i->path);
+                return btrfs_subvol_remove(i->path, true);
 
         case IMAGE_DIRECTORY:
                 /* Allow deletion of read-only directories */