btrfs-progs: mkfs: make list of source fs more visible

Signed-off-by: David Sterba <dsterba@suse.com>
master
David Sterba 2017-01-30 10:11:22 +01:00
parent 6550f5b9ed
commit 0a5d16eca7
1 changed files with 8 additions and 8 deletions

View File

@ -43,6 +43,14 @@
#include "convert/source-fs.h"
#include "fsfeatures.h"
const struct btrfs_convert_operations ext2_convert_ops;
static const struct btrfs_convert_operations *convert_operations[] = {
#if BTRFSCONVERT_EXT2
&ext2_convert_ops,
#endif
};
static void *print_copied_inodes(void *p)
{
struct task_ctx *priv = p;
@ -1145,14 +1153,6 @@ static int prepare_system_chunk_sb(struct btrfs_super_block *super)
return 0;
}
const struct btrfs_convert_operations ext2_convert_ops;
static const struct btrfs_convert_operations *convert_operations[] = {
#if BTRFSCONVERT_EXT2
&ext2_convert_ops,
#endif
};
static int convert_open_fs(const char *devname,
struct btrfs_convert_context *cctx)
{