summaryrefslogtreecommitdiff
path: root/fs/btrfs/extent-tree.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-03-23 11:00:45 -0400
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-03-23 11:00:45 -0400
commitdf2ce34c8801af8e00c7f82435fcb1e4b45a2759 (patch)
tree6231bb66994c54a18fe10ca26dfbe35e93e58721 /fs/btrfs/extent-tree.c
parentd571976292839cec05a2820b08f7629b145ed157 (diff)
downloadlwn-df2ce34c8801af8e00c7f82435fcb1e4b45a2759.tar.gz
lwn-df2ce34c8801af8e00c7f82435fcb1e4b45a2759.zip
Btrfs: properly set new buffers for new blocks up to date
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/extent-tree.c')
-rw-r--r--fs/btrfs/extent-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c
index 2818f1c57170..c86f0e6152f2 100644
--- a/fs/btrfs/extent-tree.c
+++ b/fs/btrfs/extent-tree.c
@@ -467,7 +467,7 @@ struct buffer_head *btrfs_alloc_free_block(struct btrfs_trans_handle *trans,
return NULL;
}
buf = find_tree_block(root, ins.objectid);
- dirty_tree_block(trans, root, buf);
+ set_buffer_uptodate(buf);
return buf;
}