mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git
synced 2024-11-30 23:54:10 +08:00
e4ca845778
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> |
||
---|---|---|
.. | ||
common.c | ||
common.h | ||
main.c | ||
rootdir.c | ||
rootdir.h |