btrfs-progs/mkfs
Qu Wenruo e4ca845778 btrfs-progs: mkfs: Create data reloc tree from scratch
For data reloc tree creation, we copy its contents from the fs tree just
for its INODE_ITEM, INODE_REF and dirid.  This hides the detail and is
not obvious for why we're copying from fs root.

This patch will create data reloc tree from scratch:
- Create root, including root item and new tree root
- Change dirid to BTRFS_FIRST_FREE_OBJECTID
- Insert root INODE_ITEM and INODE_REF

Signed-off-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2019-01-15 18:42:13 +01:00
..
common.c btrfs-progs: convert strerror to implicit %m 2018-10-31 18:24:14 +01:00
common.h btrfs-progs: mkfs: Fix typos in strings and comments 2018-06-07 16:37:40 +02:00
main.c btrfs-progs: mkfs: Create data reloc tree from scratch 2019-01-15 18:42:13 +01:00
rootdir.c btrfs-progs: mkfs: fix typo in "multipler" variables 2018-11-26 18:24:49 +01:00
rootdir.h btrfs-progs: mkfs/rootdir: Fix memory leak in traverse_directory() 2018-02-14 16:31:19 +01:00