btrfs: support recursively removing btrfs snapshots

This commit is contained in:
Lennart Poettering
2015-04-06 11:28:16 +02:00
parent 41d1ed059b
commit d9e2daaf3d
17 changed files with 239 additions and 70 deletions
+1 -1
View File
@@ -4459,7 +4459,7 @@ finish:
if (remove_subvol && arg_directory) {
int k;
k = btrfs_subvol_remove(arg_directory);
k = btrfs_subvol_remove(arg_directory, true);
if (k < 0)
log_warning_errno(k, "Cannot remove subvolume '%s', ignoring: %m", arg_directory);
}