summaryrefslogtreecommitdiff
path: root/fs/btrfs/extent-tree.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-05-01 12:53:32 (GMT)
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-05-01 12:53:32 (GMT)
commit090d18753c7fb73f7d846c3a89a50cd35136d144 (patch)
treee36965065fd68633c06cbe4b8312e5afe49997f4 /fs/btrfs/extent-tree.c
parent31f3c99b73483f7b738a886c552050cbd6128ff3 (diff)
downloadlinux-fsl-qoriq-090d18753c7fb73f7d846c3a89a50cd35136d144.tar.xz
Btrfs: directory readahead
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/extent-tree.c')
-rw-r--r--fs/btrfs/extent-tree.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c
index 8b8cbe2..2837fdd 100644
--- a/fs/btrfs/extent-tree.c
+++ b/fs/btrfs/extent-tree.c
@@ -812,6 +812,7 @@ struct buffer_head *btrfs_alloc_free_block(struct btrfs_trans_handle *trans,
BUG_ON(ret);
buf = btrfs_find_create_tree_block(root, ins.objectid);
set_buffer_uptodate(buf);
+ set_buffer_checked(buf);
set_radix_bit(&trans->transaction->dirty_pages, buf->b_page->index);
return buf;
}