LiYu
2009-Jul-22 07:18 UTC
[PATCH] btrfs-progs: remove a redundant btrfs_find_block_group() call
It seem that we have a redundant btrfs_find_block_group() call in extent-tree.c/find_search_start(), is this guess right? Signed-off-by: Li Yu <raise.sail@gmail.com> --- diff --git a/extent-tree.c b/extent-tree.c index b2f9bb2..1c932c2 100644 --- a/extent-tree.c +++ b/extent-tree.c @@ -299,7 +299,6 @@ no_cache: goto out; } cache = btrfs_find_block_group(root, cache, last, data, 0); - cache = btrfs_find_block_group(root, cache, last, data, 0); if (!cache) goto no_cache; -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Chris Mason
2009-Jul-22 14:41 UTC
Re: [PATCH] btrfs-progs: remove a redundant btrfs_find_block_group() call
On Wed, Jul 22, 2009 at 03:18:53PM +0800, LiYu wrote:> > It seem that we have a redundant btrfs_find_block_group() call in extent-tree.c/find_search_start(), is this guess right?Thanks for sending this patch along. -chris -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html