btrfs-progs: convert: improve assert in make_convert_btrfs

Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
David Sterba 2017-02-01 15:41:06 +01:00
parent 52319450e7
commit ca92914804
1 changed files with 2 additions and 2 deletions

View File

@ -796,8 +796,8 @@ int make_convert_btrfs(int fd, struct btrfs_mkfs_config *cfg,
u64 csum_bytenr; u64 csum_bytenr;
int ret; int ret;
/* Shouldn't happen */ /* Source filesystem must be opened, checked and analyzed in advance */
BUG_ON(cache_tree_empty(used_space)); ASSERT(!cache_tree_empty(used_space));
/* /*
* reserve space for temporary superblock first * reserve space for temporary superblock first