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) | |
download | linux-stable-090d18753c7fb73f7d846c3a89a50cd35136d144.tar.gz linux-stable-090d18753c7fb73f7d846c3a89a50cd35136d144.tar.bz2 linux-stable-090d18753c7fb73f7d846c3a89a50cd35136d144.zip |
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, 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; } |