From: Chris Mason Date: Tue, 22 Jan 2008 21:47:59 +0000 (-0500) Subject: Btrfs: Fix hole insertion corner cases X-Git-Tag: v2.6.29-rc1~27^2~9^2~55^2~56^2~30^2~322 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f56406aabdf5444d040c5955effc665b1d0dbaf;p=pandora-kernel.git Btrfs: Fix hole insertion corner cases There were a few places that could cause duplicate extent insertion, this adjusts the code that creates holes to avoid it. lookup_extent_map is changed to correctly return all of the extents in a range, even when there are none matching at the start of the range. Signed-off-by: Chris Mason --- Reading git-diff-tree failed