From: Josef Bacik Date: Mon, 26 Sep 2011 17:56:12 +0000 (-0400) Subject: Btrfs: introduce convert_extent_bit X-Git-Tag: v3.2-rc1~21^2~24^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=462d6fac8960a3ba797927adfcbd29d503eb16fd;p=pandora-kernel.git Btrfs: introduce convert_extent_bit If I have a range where I know a certain bit is and I want to set it to another bit the only option I have is to call set and then clear bit, which will result in 2 tree searches. This is inefficient, so introduce convert_extent_bit which will go through and set the bit I want and clear the old bit I don't want. Thanks, Signed-off-by: Josef Bacik --- Reading git-diff-tree failed