Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix unitialized variable in
zstream redup
command
Fix uninitialized variable in `zstream redup` command. The compiler may determine the 'stream_offset' variable can be uninitialized because not all rdt_lookup() exit paths set it. This should never happen in practice as documented by the assert, but initialize it regardless to resolve the warning. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Issue openzfs#10241
- Loading branch information