[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAEH94Lg7owGgK=EcY_FVjQPYt4jF3DpEMaVayEy0YH_uMofc_g@mail.gmail.com>
Date: Thu, 5 Jul 2012 15:30:13 +0800
From: Zhi Yong Wu <zwu.kernel@...il.com>
To: linux-btrfs@...r.kernel.org
Cc: linux-kernel@...r.kernel.org,
Zhi Yong Wu <wuzhy@...ux.vnet.ibm.com>
Subject: Re: [PATCH] btrfs-progs: rework the code logic
Sorry, please ignore this patch.
On Thu, Jul 5, 2012 at 3:26 PM, <zwu.kernel@...il.com> wrote:
> From: Zhi Yong Wu <wuzhy@...ux.vnet.ibm.com>
>
> Signed-off-by: Zhi Yong Wu <wuzhy@...ux.vnet.ibm.com>
> ---
> extent-cache.c | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/extent-cache.c b/extent-cache.c
> index 3dd6434..a5084ee 100644
> --- a/extent-cache.c
> +++ b/extent-cache.c
> @@ -136,10 +136,10 @@ struct cache_extent *find_first_cache_extent(struct cache_tree *tree,
> struct cache_extent *entry;
>
> ret = __tree_search(&tree->root, start, 1, &prev);
> - if (!ret)
> + if (!ret) {
> ret = prev;
> - if (!ret)
> return NULL;
> + }
> entry = rb_entry(ret, struct cache_extent, rb_node);
> return entry;
> }
> --
> 1.7.6
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
> the body of a message to majordomo@...r.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Regards,
Zhi Yong Wu
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists