Messages in this thread | | | Date | Mon, 12 Dec 2016 14:38:20 +0100 | From | David Sterba <> | Subject | Re: [PATCH 1/1] btrfs: fix improper return value |
| |
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@fb.com>
Added to 4.10 queue.
| |