diff options
author | Gu Jinxiang <gujx@cn.fujitsu.com> | 2017-08-25 15:23:36 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-09-08 16:15:05 +0200 |
commit | 944e14da14af9e292c7fbd7a006bb4b556ac6766 (patch) | |
tree | 926bc0f761ced9f0eef1221ce5cebaf6c53b9603 /cmds-scrub.c | |
parent | df4a04484aeffa5e88488a42307af4d60a4f3e62 (diff) |
btrfs-progs: mkfs: Move the tree root creation to own function
make_btrfs is too long to understand, make creatation of root tree
in a function.
Some of the tree roots are now created in a loop, where the code is just
copypasted. We now make use of the reference_root_table to translate
block index to root objectid.
Signed-off-by: Gu Jinxiang <gujx@cn.fujitsu.com>
[ updated changelog ]
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'cmds-scrub.c')
0 files changed, 0 insertions, 0 deletions