Miao Xie
2010-May-20 07:13 UTC
[PATCH 01/10] btrfs: add a return value for readahead_tree_block()
From: Liu Bo <liubo2009@cn.fujitsu.com> Fix return value to get from read_extent_buffer_pages(). Signed-off-by: Liu Bo <liubo2009@cn.fujitsu.com> Signed-off-by: Miao Xie <miaox@cn.fujitsu.com> --- fs/btrfs/disk-io.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index 6632e5c..35916d5 100644 --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c @@ -794,7 +794,7 @@ int readahead_tree_block(struct btrfs_root *root, u64 bytenr, u32 blocksize, buf = btrfs_find_create_tree_block(root, bytenr, blocksize); if (!buf) return 0; - read_extent_buffer_pages(&BTRFS_I(btree_inode)->io_tree, + ret = read_extent_buffer_pages(&BTRFS_I(btree_inode)->io_tree, buf, 0, 0, btree_get_extent, 0); free_extent_buffer(buf); return ret; -- 1.6.5.2 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Miao Xie
2010-Jun-02 03:07 UTC
Re: [PATCH 01/10] btrfs: add a return value for readahead_tree_block()
Hi, Chris Could you review this patchset for us? Regards Miao on 2010-5-20 15:13, Miao Xie wrote:> From: Liu Bo <liubo2009@cn.fujitsu.com> > > Fix return value to get from read_extent_buffer_pages(). > > Signed-off-by: Liu Bo <liubo2009@cn.fujitsu.com> > Signed-off-by: Miao Xie <miaox@cn.fujitsu.com> > --- > fs/btrfs/disk-io.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c > index 6632e5c..35916d5 100644 > --- a/fs/btrfs/disk-io.c > +++ b/fs/btrfs/disk-io.c > @@ -794,7 +794,7 @@ int readahead_tree_block(struct btrfs_root *root, u64 bytenr, u32 blocksize, > buf = btrfs_find_create_tree_block(root, bytenr, blocksize); > if (!buf) > return 0; > - read_extent_buffer_pages(&BTRFS_I(btree_inode)->io_tree, > + ret = read_extent_buffer_pages(&BTRFS_I(btree_inode)->io_tree, > buf, 0, 0, btree_get_extent, 0); > free_extent_buffer(buf); > return ret;-- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Reasonably Related Threads
- [PATCH v2 0/6] btrfs: generic readeahead interface
- [PATCH v4 0/6] btrfs: generic readeahead interface
- [GIT PULL v3] Btrfs: improve write ahead log with sub transaction
- [patch 00/65] Error handling patchset v3
- [PATCH 1/4] Btrfs: map the node block when looking for readahead targets