linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 01/10] btrfs: add a return value for readahead_tree_block()
@ 2010-05-20  7:13 Miao Xie
  2010-06-02  3:07 ` Miao Xie
  0 siblings, 1 reply; 2+ messages in thread
From: Miao Xie @ 2010-05-20  7:13 UTC (permalink / raw)
  To: Chris Mason; +Cc: Linux Btrfs

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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 01/10] btrfs: add a return value for readahead_tree_block()
  2010-05-20  7:13 [PATCH 01/10] btrfs: add a return value for readahead_tree_block() Miao Xie
@ 2010-06-02  3:07 ` Miao Xie
  0 siblings, 0 replies; 2+ messages in thread
From: Miao Xie @ 2010-06-02  3:07 UTC (permalink / raw)
  To: miaox; +Cc: Chris Mason, Linux Btrfs

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;



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-06-02  3:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-20  7:13 [PATCH 01/10] btrfs: add a return value for readahead_tree_block() Miao Xie
2010-06-02  3:07 ` Miao Xie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).