Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
btrfs: return the actual error value from from btrfs_uuid_tree_iterate
[ Upstream commit 73ba39a ] 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 Signed-off-by: Pan Bian <[email protected]> Reviewed-by: Omar Sandoval <[email protected]> [ edited subject ] Signed-off-by: David Sterba <[email protected]> Signed-off-by: Sasha Levin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information