btrfs-progs: Add count_digits() function to help calculate filename len.
authorQu Wenruo <quwenruo@cn.fujitsu.com>
Tue, 9 Dec 2014 08:27:27 +0000 (16:27 +0800)
committerDavid Sterba <dsterba@suse.cz>
Wed, 10 Dec 2014 12:44:52 +0000 (13:44 +0100)
commit1c4d47c037c78cce4c3d5ad7502387ebfd4370cb
tree67043b65afdd62529a234362530b4d747e511040
parent43c36f3cfd4e076e8bc882a2f53619b88be15e2e
btrfs-progs: Add count_digits() function to help calculate filename len.

Add count_digits() function in utils.h to help calculate filename with
ino suffix.

Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
utils.h