Re: [PATCH 1/1] btrfs: fix improper return value

From: David Sterba
Date: Mon Dec 12 2016 - 08:38:32 EST


On Sun, Dec 04, 2016 at 11:57:07AM -0800, Omar Sandoval wrote:
> On Sun, Dec 04, 2016 at 12:51:53PM +0800, Pan Bian wrote:
> > In function btrfs_uuid_tree_iterate(), errno is assigned to variable ret
> > on errors. However, it directly returns 0. It may be better to return
> > ret. This patch also removes the warning, because the caller already
> > prints a warning.
> >
> > Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=188731
>
> Looks good.
>
> Reviewed-by: Omar Sandoval <osandov@xxxxxx>

Added to 4.10 queue.