btrfs-progs: mkfs: make list of source fs more visible
authorDavid Sterba <dsterba@suse.com>
Mon, 30 Jan 2017 09:11:22 +0000 (10:11 +0100)
committerDavid Sterba <dsterba@suse.com>
Wed, 8 Mar 2017 12:00:46 +0000 (13:00 +0100)
Signed-off-by: David Sterba <dsterba@suse.com>
convert/main.c

index aa0d805..2f6ec42 100644 (file)
 #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)
 {