commit | 46562cec98368623bcd18d7fd30f20c04afd5978 | [log] [tgz] |
---|---|---|
author | Chris Mason <chris.mason@oracle.com> | Wed Sep 23 20:23:16 2009 -0400 |
committer | Chris Mason <chris.mason@oracle.com> | Wed Sep 23 20:30:52 2009 -0400 |
tree | 4e5bbba7f459a1094b09413f65239b26401117f8 | |
parent | 42daec299b8b6b9605976d0ee1266b343a31cbcc [diff] |
Btrfs: Fix test_range_bit for whole file extents If test_range_bit finds an extent that goes all the way to (u64)-1, it can incorrectly wrap the u64 instead of treaing it like the end of the address space. This just adds a check for the highest possible offset so we don't wrap. Signed-off-by: Chris Mason <chris.mason@oracle.com>