btrfs/010: use _extent_count() helper
authorWang Shilong <wangshilong1991@gmail.com>
Tue, 14 Oct 2014 11:59:38 +0000 (22:59 +1100)
committerDave Chinner <david@fromorbit.com>
Tue, 14 Oct 2014 11:59:38 +0000 (22:59 +1100)
commitcbf5cd2a3b76c189d6d4f13d69d68da06f54503c
tree01bccb578fa491b25d19c1ef4913431b747c0a2c
parent562af5d34343ffa4cd03a8db12b81dae4efdfc3b
btrfs/010: use _extent_count() helper

cleanup to swith _extent_count(), this way we remove a
dependence on filefrag.

Signed-off-by: Wang Shilong <wangshilong1991@gmail.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
tests/btrfs/010 [changed mode: 0755->0644]