From: Yan, Zheng Date: Thu, 12 Nov 2009 09:33:58 +0000 (+0000) Subject: Btrfs: Add btrfs_duplicate_item X-Git-Tag: v2.6.33-rc1~7^2~1^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad48fd754676bfae4139be1a897b1ea58f9aaf21;p=pandora-kernel.git Btrfs: Add btrfs_duplicate_item btrfs_duplicate_item duplicates item with new key, guaranteeing the source item and the new items are in the same tree leaf and contiguous. It allows us to split file extent in place, without using lock_extent to prevent bookend extent race. Signed-off-by: Yan Zheng Signed-off-by: Chris Mason --- Reading git-diff-tree failed