From: Shaohua Li Date: Thu, 11 Feb 2010 07:43:00 +0000 (+0000) Subject: Btrfs: btrfs_mark_extent_written uses the wrong slot X-Git-Tag: v2.6.33~43^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f6fae9559225741c91f1320090b285da1413290;p=pandora-kernel.git Btrfs: btrfs_mark_extent_written uses the wrong slot My test do: fallocate a big file and do write. The file is 512M, but after file write is done btrfs-debug-tree shows: item 6 key (257 EXTENT_DATA 0) itemoff 3516 itemsize 53 extent data disk byte 1103101952 nr 536870912 extent data offset 0 nr 399634432 ram 536870912 extent compression 0 Looks like a regression introducted by 6c7d54ac87f338c479d9729e8392eca3f76e11e1, where we set wrong slot. Signed-off-by: Shaohua Li Acked-by: Yan Zheng Signed-off-by: Chris Mason --- Reading git-diff-tree failed