summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/disk-io.c
diff options
context:
space:
mode:
authorChris Mason2009-09-24 02:23:16 +0200
committerChris Mason2009-09-24 02:30:52 +0200
commit46562cec98368623bcd18d7fd30f20c04afd5978 (patch)
tree4e5bbba7f459a1094b09413f65239b26401117f8 /fs/btrfs/disk-io.c
parentBtrfs: fix errors handling cached state in set/clear_extent_bit (diff)
downloadkernel-qcow2-linux-46562cec98368623bcd18d7fd30f20c04afd5978.tar.gz
kernel-qcow2-linux-46562cec98368623bcd18d7fd30f20c04afd5978.tar.xz
kernel-qcow2-linux-46562cec98368623bcd18d7fd30f20c04afd5978.zip
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>
Diffstat (limited to 'fs/btrfs/disk-io.c')
0 files changed, 0 insertions, 0 deletions