[Btrfs-devel] fix block readahead in btrfs_next_leaf
chris.mason at oracle.com
Mon Aug 27 06:25:09 PDT 2007
On Mon, 27 Aug 2007 21:10:01 +0800
"Yan Zheng" <yanzheng at 21cn.com> wrote:
> 2007/8/27, Chris Mason <chris.mason at oracle.com>:
> int btrfs_next_leaf(struct btrfs_root *root, struct btrfs_path *path)
> reada_for_search(root, path, level, slot);
> next = read_tree_block(root,
> 0)); }
> return 0;
> I think in the second while loop, slot should set to 0.
Ah, you're right. Thanks for the clarification!
More information about the Btrfs-devel