On Mon, May 25, 2015 at 05:30:15PM +0800, Liu Bo wrote:
> The return value of read_tree_block() can confuse callers as it always
> returns NULL for either -ENOMEM or -EIO, so it's likely that callers
> parse it to a wrong error, for instance, in btrfs_read_tree_root().
> 
> This fixes the above issue.
> 
> Signed-off-by: Liu Bo <[email protected]>

Reviewed-by: David Sterba <[email protected]>
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to