From: Chris Mason Date: Thu, 24 Sep 2009 00:23:16 +0000 (-0400) Subject: Btrfs: Fix test_range_bit for whole file extents X-Git-Tag: v2.6.32-rc1~57^2^2~5 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=46562cec98368623bcd18d7fd30f20c04afd5978;p=pandora-kernel.git 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 --- Reading git-diff-tree failed