diff mbox

[GIT,PULL,RFC,0/4] btrfs: Implement delayed directory name index insertion and deletion

Message ID 20110110121622.d914be35.kitayama@cl.bb4u.ne.jp (mailing list archive)
State New, archived
Headers show

Commit Message

Itaru Kitayama Jan. 10, 2011, 3:16 a.m. UTC
None
diff mbox

Patch

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;