On Thu, Nov 05, 2015 at 04:32:59PM +0800, Qu Wenruo wrote:
> Btrfs_leaf_free_space() function is used to determine the leaf/node
> size.
> It's OK to use root->nodesize to determine nodesize, but in fact,
> extent_buffer->len can also be used to determine the nodesize if caller
> can ensure it's a tree block.
> 
> So this patch will add support for NULL root for btrfs_leaf_free_space()
> function, to allow btrfs_print_leaf() functions to be called in gdb or
> to debug temporary btrfs in make_btrfs() without a valid root.
> 
> Signed-off-by: Qu Wenruo <quwen...@cn.fujitsu.com>

Applied, 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

Reply via email to