diff options
author | Chris Mason <chris.mason@oracle.com> | 2007-05-01 08:53:32 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@hera.kernel.org> | 2007-05-01 08:53:32 -0400 |
commit | 090d18753c7fb73f7d846c3a89a50cd35136d144 (patch) | |
tree | e36965065fd68633c06cbe4b8312e5afe49997f4 /fs/btrfs/extent-tree.c | |
parent | 31f3c99b73483f7b738a886c552050cbd6128ff3 (diff) |
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c index 8b8cbe25fffb..2837fddf7b1c 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, | |||
812 | BUG_ON(ret); | 812 | BUG_ON(ret); |
813 | buf = btrfs_find_create_tree_block(root, ins.objectid); | 813 | buf = btrfs_find_create_tree_block(root, ins.objectid); |
814 | set_buffer_uptodate(buf); | 814 | set_buffer_uptodate(buf); |
815 | set_buffer_checked(buf); | ||
815 | set_radix_bit(&trans->transaction->dirty_pages, buf->b_page->index); | 816 | set_radix_bit(&trans->transaction->dirty_pages, buf->b_page->index); |
816 | return buf; | 817 | return buf; |
817 | } | 818 | } |