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
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]>
- Loading branch information