summaryrefslogtreecommitdiff
path: root/btrfs-image.c
diff options
context:
space:
mode:
Diffstat (limited to 'btrfs-image.c')
-rw-r--r--btrfs-image.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/btrfs-image.c b/btrfs-image.c
index 551487fb..82eed054 100644
--- a/btrfs-image.c
+++ b/btrfs-image.c
@@ -2881,5 +2881,7 @@ out:
}
}
+ btrfs_close_all_devices();
+
return !!ret;
}