Btrfs: Fix for test_range_bit
authorYan <yanzheng@21cn.com>
Tue, 22 Jan 2008 17:46:56 +0000 (12:46 -0500)
committerChris Mason <chris.mason@oracle.com>
Thu, 25 Sep 2008 15:03:59 +0000 (11:03 -0400)
commitf0c5da1446cc500856a5e31c9a0e2a7bdd30e663
treec780414d086f5aa91c65e1471dbeb575d2d08447
parentb17854275cd297d40c6c5562fa44a472314c6c7f
Btrfs: Fix for test_range_bit

test_range_bit doesn't properly handle the case: there's a hole at the
end of the range and there's no other extent_state after the range.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/extent_map.c