On Tue, Mar 18, 2014 at 08:02:46PM +0800, Wang Shilong wrote: > @@ -2742,7 +2742,10 @@ static int add_extent_rec(struct cache_tree *extent_cache, > - rec->found_rec = extent_rec; > + if (extent_rec) > + rec->found_rec = 1; > + else > + rec->found_rec = 0; I've modified this to avoid 'if' rec->found_rec = !!extent_rec; -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
