From 0a5d16eca7167af06c896df64a2d301a6af4c6b4 Mon Sep 17 00:00:00 2001 From: David Sterba Date: Mon, 30 Jan 2017 10:11:22 +0100 Subject: [PATCH] btrfs-progs: mkfs: make list of source fs more visible Signed-off-by: David Sterba --- convert/main.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/convert/main.c b/convert/main.c index aa0d805b..2f6ec428 100644 --- a/convert/main.c +++ b/convert/main.c @@ -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) {