summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorZhao Lei <zhaolei@cn.fujitsu.com>2015-10-29 17:31:43 +0800
committerDavid Sterba <dsterba@suse.com>2015-11-02 15:10:14 +0100
commit0b69dfa4106025eed865bfced66e989f4a27e116 (patch)
tree72b97988f201611e0bc17cfe6f1ffa3a62f9d290 /configure.ac
parent835821f36a32bc7662f4aaa0f9a2a27a35eb60ed (diff)
btrfs-progs: fix floating point exception for btrfs-calc-size
Current code exit with floating point exception on a blank fs: # btrfs-calc-size -b /dev/sda6 Calculating size of root tree Total size: 16384 Inline data: 0 Total seeks: 0 Forward seeks: 0 Backward seeks: 0 Floating point exception This patch add a condition check for above case. Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions