btrfs-progs: mkfs: move source dir size calculation to its own files
commit8719161b4c2cefdf1bbb87800ee6fada57bcac9c
authorQu Wenruo <wqu@suse.com>
Thu, 19 Oct 2017 05:41:38 +0000 (19 13:41 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 8 Jan 2018 17:11:33 +0000 (8 18:11 +0100)
treefe3251b3e3e32229b22eeef2947a9256c8d03e12
parent075580471e0f7435c52df486eb4354031337a7d3
btrfs-progs: mkfs: move source dir size calculation to its own files

Also rename the function from size_sourcedir() to mkfs_size_dir().

Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
mkfs/main.c
mkfs/rootdir.c
mkfs/rootdir.h