mirror of
https://github.com/kdave/btrfs-progs
synced 2024-12-18 12:25:12 +00: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 |