From patchwork Mon Jan 10 03:16:22 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Itaru Kitayama X-Patchwork-Id: 467401 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 p0A3GVK3011605 for ; Mon, 10 Jan 2011 03:16:31 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752452Ab1AJDQ2 (ORCPT ); Sun, 9 Jan 2011 22:16:28 -0500 Received: from irs1ma.bb4u.ne.jp ([202.229.9.180]:41116 "HELO irs1m.bias.ne.jp" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with SMTP id S1752151Ab1AJDQ1 (ORCPT ); Sun, 9 Jan 2011 22:16:27 -0500 Received: (qmail 28242 invoked from network); 10 Jan 2011 03:16:22 -0000 Received: from unknown (HELO prime) (58.89.221.50) by 0 with SMTP; Mon, 10 Jan 2011 12:16:22 +0900 Date: Mon, 10 Jan 2011 12:16:22 +0900 From: Itaru Kitayama To: miaox@cn.fujitsu.com Cc: Linux Btrfs Subject: Re: [GIT PULL] [RFC PATCH 0/4] btrfs: Implement delayed directory name index insertion and deletion Message-Id: <20110110121622.d914be35.kitayama@cl.bb4u.ne.jp> In-Reply-To: <4D25658D.1090307@cn.fujitsu.com> References: <4CF602AD.8020205@cn.fujitsu.com> <20110101004341.667de4c4.kitayama@cl.bb4u.ne.jp> <4D25658D.1090307@cn.fujitsu.com> X-Mailer: Sylpheed 3.0.2 (GTK+ 2.20.1; x86_64-redhat-linux-gnu) Mime-Version: 1.0 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]); Mon, 10 Jan 2011 03:16:31 +0000 (UTC) diff --git a/fs/btrfs/tree-log.c b/fs/btrfs/tree-log.c index 054744a..7df8c7b 100644 --- a/fs/btrfs/tree-log.c +++ b/fs/btrfs/tree-log.c @@ -3081,6 +3081,8 @@ int btrfs_recover_log_trees(struct btrfs_root *log_root_tree) trans = btrfs_start_transaction(fs_info->tree_root, 0); + trans->block_rsv = &fs_info->global_block_rsv; + wc.trans = trans; wc.pin = 1;