Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Properly initialize the variable resid for the error case where vn_rdwr() returns an error with setting *resid. In practice this is harmless because the contents of resid don't matter when vn_rdwr() returns an error. But the code does check the result which means we may or may not end up having the check zio->io_error. This makes gcc unhappy and having a completely deterministic code path here is a good thing. Closes #51
- Loading branch information