mirror of
https://github.com/kdave/btrfs-progs
synced 2025-04-19 05:25:23 +00:00
btrfs-progs: mkfs: make list of source fs more visible
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
6550f5b9ed
commit
0a5d16eca7
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user