On Fri, Jan 26, 2018 at 09:31:06AM -0500, Josef Bacik wrote: > On Thu, Jan 25, 2018 at 02:56:18PM +0800, Qu Wenruo wrote: > > When inspecting the error message with real corruption, the "root=%llu" > > always shows "1" (root tree), instead of correct owner. > > > > The problem is that we are getting @root from page->mapping->host, which > > points the same btree inode, so we will always get the same root. > > > > This makes the root owner output meaningless, and harder to port > > tree-checker to btrfs-progs. > > > > So get rid of the false and meaningless @root parameter and replace it > > with @fs_info. > > To get the owner, we can only rely on btrfs_header_owner() now. > > > > Signed-off-by: Qu Wenruo <w...@suse.com> > > Reviewed-by: Josef Bacik <jba...@fb.com>
Added to next, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html