From: Jan Schmidt Date: Wed, 16 May 2012 15:04:52 +0000 (+0200) Subject: Btrfs: don't set for_cow parameter for tree block functions X-Git-Tag: v3.5-rc1~17^2^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5581a51a59a1f5f51ac3d4bacafb738d35e0350b;p=pandora-kernel.git Btrfs: don't set for_cow parameter for tree block functions Three callers of btrfs_free_tree_block or btrfs_alloc_tree_block passed parameter for_cow = 1. In fact, these two functions should never mark their tree modification operations as for_cow, because they can change the number of blocks referenced by a tree. Hence, we remove the extra for_cow parameter from these functions and make them pass a zero down. Signed-off-by: Jan Schmidt --- Reading git-diff-tree failed