mirror of
https://github.com/kdave/btrfs-progs
synced 2025-03-25 04:16:32 +00:00
btrfs-progs: image: close all_devices at the end
Devices opened by check_mounted() in main() should closed before the exit of btrfs-image. Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
de554435e8
commit
d17313dd4b
@ -2881,5 +2881,7 @@ out:
|
||||
}
|
||||
}
|
||||
|
||||
btrfs_close_all_devices();
|
||||
|
||||
return !!ret;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user