Btrfs: Fix nodatacow extent lookup
authorChris Mason <chris.mason@oracle.com>
Wed, 19 Dec 2007 14:11:48 +0000 (09:11 -0500)
committerChris Mason <chris.mason@oracle.com>
Thu, 25 Sep 2008 15:03:58 +0000 (11:03 -0400)
commit879c1cfc3104b632dea85d07490f1b55e54275a9
treeaeb8d8bdff1e5d77042216213e247b7fdd6c84d6
parent190662b2128dd648749e197f5563e9f6bbb5e05c
Btrfs: Fix nodatacow extent lookup

Yan Zheng noticed the offset into the extent was incorrectly being added to the
extent start before trying to find it in the extent allocation tree.

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