Message ID | fbf4df28568fcc87e5e6ae264eef0247eaa63a38.1441805445.git.zhaolei@cn.fujitsu.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
diff --git a/btrfs-image.c b/btrfs-image.c index c7681f4..78ae828 100644 --- a/btrfs-image.c +++ b/btrfs-image.c @@ -2881,5 +2881,7 @@ out: } } + btrfs_close_all_devices(); + return !!ret; }
devices opened by check_mounted() in main() should close before exit of btrfs-image. Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com> --- btrfs-image.c | 2 ++ 1 file changed, 2 insertions(+)