linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] btrfs-progs: Fix a copy-n-paste bug in btrfs_read_fs_root().
@ 2015-01-07  9:23 Qu Wenruo
  2015-01-07 23:49 ` Satoru Takeuchi
  2015-01-09 17:48 ` David Sterba
  0 siblings, 2 replies; 4+ messages in thread
From: Qu Wenruo @ 2015-01-07  9:23 UTC (permalink / raw)
  To: linux-btrfs

Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
---
 disk-io.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/disk-io.c b/disk-io.c
index 2bf8586..b853f66 100644
--- a/disk-io.c
+++ b/disk-io.c
@@ -693,7 +693,7 @@ struct btrfs_root *btrfs_read_fs_root(struct btrfs_fs_info *fs_info,
 	if (location->objectid == BTRFS_CSUM_TREE_OBJECTID)
 		return fs_info->csum_root;
 	if (location->objectid == BTRFS_QUOTA_TREE_OBJECTID)
-		return fs_info->csum_root;
+		return fs_info->quota_root;
 
 	BUG_ON(location->objectid == BTRFS_TREE_RELOC_OBJECTID ||
 	       location->offset != (u64)-1);
-- 
2.2.1


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

* Re: [PATCH] btrfs-progs: Fix a copy-n-paste bug in btrfs_read_fs_root().
  2015-01-07  9:23 [PATCH] btrfs-progs: Fix a copy-n-paste bug in btrfs_read_fs_root() Qu Wenruo
@ 2015-01-07 23:49 ` Satoru Takeuchi
  2015-01-09 17:48 ` David Sterba
  1 sibling, 0 replies; 4+ messages in thread
From: Satoru Takeuchi @ 2015-01-07 23:49 UTC (permalink / raw)
  To: Qu Wenruo, linux-btrfs

On 2015/01/07 18:23, Qu Wenruo wrote:
> Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>

Reviewed-by: Satoru Takeuchi <takeuchi_satoru@jp.fujitsu.com>

> ---
>   disk-io.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/disk-io.c b/disk-io.c
> index 2bf8586..b853f66 100644
> --- a/disk-io.c
> +++ b/disk-io.c
> @@ -693,7 +693,7 @@ struct btrfs_root *btrfs_read_fs_root(struct btrfs_fs_info *fs_info,
>   	if (location->objectid == BTRFS_CSUM_TREE_OBJECTID)
>   		return fs_info->csum_root;
>   	if (location->objectid == BTRFS_QUOTA_TREE_OBJECTID)
> -		return fs_info->csum_root;
> +		return fs_info->quota_root;
>   
>   	BUG_ON(location->objectid == BTRFS_TREE_RELOC_OBJECTID ||
>   	       location->offset != (u64)-1);
> 


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

* Re: [PATCH] btrfs-progs: Fix a copy-n-paste bug in btrfs_read_fs_root().
  2015-01-07  9:23 [PATCH] btrfs-progs: Fix a copy-n-paste bug in btrfs_read_fs_root() Qu Wenruo
  2015-01-07 23:49 ` Satoru Takeuchi
@ 2015-01-09 17:48 ` David Sterba
  2015-01-12  0:48   ` Qu Wenruo
  1 sibling, 1 reply; 4+ messages in thread
From: David Sterba @ 2015-01-09 17:48 UTC (permalink / raw)
  To: Qu Wenruo; +Cc: linux-btrfs

Please also mention the commit that introdued the typo, I'll do that
myself now. Thanks for catching the typo.

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

* Re: [PATCH] btrfs-progs: Fix a copy-n-paste bug in btrfs_read_fs_root().
  2015-01-09 17:48 ` David Sterba
@ 2015-01-12  0:48   ` Qu Wenruo
  0 siblings, 0 replies; 4+ messages in thread
From: Qu Wenruo @ 2015-01-12  0:48 UTC (permalink / raw)
  To: dsterba, linux-btrfs

Oh, sorry.

Thanks for the commit info.
Qu
-------- Original Message --------
Subject: Re: [PATCH] btrfs-progs: Fix a copy-n-paste bug in 
btrfs_read_fs_root().
From: David Sterba <dsterba@suse.cz>
To: Qu Wenruo <quwenruo@cn.fujitsu.com>
Date: 2015年01月10日 01:48
> Please also mention the commit that introdued the typo, I'll do that
> myself now. Thanks for catching the typo.


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

end of thread, other threads:[~2015-01-12  0:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-07  9:23 [PATCH] btrfs-progs: Fix a copy-n-paste bug in btrfs_read_fs_root() Qu Wenruo
2015-01-07 23:49 ` Satoru Takeuchi
2015-01-09 17:48 ` David Sterba
2015-01-12  0:48   ` Qu Wenruo

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).