btrfs-progs: fsck: print correct file hole
authorQu Wenruo <quwenruo@cn.fujitsu.com>
Wed, 5 Aug 2015 08:03:12 +0000 (16:03 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 31 Aug 2015 17:25:11 +0000 (19:25 +0200)
commit1ffa833a910b5a7070d9ee4456fb833aab7cf91d
tree798d6ff46f815db09d5dd7c0c640bc4e668f1d7a
parent7c41d25ec63addd0f6661dac20532a18237c039f
btrfs-progs: fsck: print correct file hole

If a file lost all its extents, fsck will unable to print out the hole.

Add an extra check to print out the hole range.

Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
cmds-check.c