Message ID | 1420622623-25668-1-git-send-email-quwenruo@cn.fujitsu.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
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); > -- 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
Please also mention the commit that introdued the typo, I'll do that myself now. Thanks for catching the typo. -- 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
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. -- 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
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);
Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com> --- disk-io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)