From patchwork Fri Jan 21 09:19:40 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yan, Zheng" X-Patchwork-Id: 494511 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p0L9JwRX008087 for ; Fri, 21 Jan 2011 09:19:58 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754849Ab1AUJTo (ORCPT ); Fri, 21 Jan 2011 04:19:44 -0500 Received: from mail-wy0-f174.google.com ([74.125.82.174]:45515 "EHLO mail-wy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754847Ab1AUJTl convert rfc822-to-8bit (ORCPT ); Fri, 21 Jan 2011 04:19:41 -0500 Received: by mail-wy0-f174.google.com with SMTP id 28so1581804wyb.19 for ; Fri, 21 Jan 2011 01:19:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=uUaov1iBE7VdX7mgWqZji4NBbQ7zXGgMGK6DPoC/XuA=; b=CLuh3sA9grAsJI3UMwhx/XzvAlPdRu36p0UXU86UVhHg0DFrHX+bTMP2lFEARe+9Je z42ukyqVjYGSXsiWi0F9ml6a7AlpfeIH3xskYEZ3vyPlk0c536VmG4SookfDo20zP3op L7fJ+IiZMZQkG3a7xPL0hnryupAQMymbs8GQ8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=QAps7oUZtdApZbTScFBfV756C7e4VrhxS2atVBgCVGGReVZdjSDRG44V5KQM0u1fef zk+iUqv7RQrjEXZFlNYDxqwj+xyjXi5tRrFezPEFRstm3dkAYZ9SA9zSoso4CmIa2dNy xmRx0cO13hxbT1XtC19+2P5r30agvbMJyrqfM= MIME-Version: 1.0 Received: by 10.227.179.77 with SMTP id bp13mr386708wbb.226.1295601580583; Fri, 21 Jan 2011 01:19:40 -0800 (PST) Received: by 10.227.145.84 with HTTP; Fri, 21 Jan 2011 01:19:40 -0800 (PST) In-Reply-To: <4D3948CB.8090801@logtenberg.eu> References: <4D344EBB.6030903@logtenberg.eu> <4D3452C9.901@logtenberg.eu> <4D3948CB.8090801@logtenberg.eu> Date: Fri, 21 Jan 2011 17:19:40 +0800 X-Google-Sender-Auth: f7ygX6tGg90Dpjurb9CWzPhGsM0 Message-ID: Subject: Re: Kernel error during btrfs balance From: "Yan, Zheng " To: Erik Logtenberg Cc: linux-btrfs@vger.kernel.org Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Fri, 21 Jan 2011 09:19:58 +0000 (UTC) diff --git a/fs/btrfs/relocation.c b/fs/btrfs/relocation.c index b37d723..49d6b13 100644 --- a/fs/btrfs/relocation.c +++ b/fs/btrfs/relocation.c @@ -1158,6 +1158,7 @@ static int clone_backref_node(struct btrfs_trans_handle *trans, new_node->bytenr = dest->node->start; new_node->level = node->level; new_node->lowest = node->lowest; + new_node->checked = 1; new_node->root = dest;