Page MenuHomeFreeBSD

Fix erroneous assert in libzfs diff
ClosedPublic

Authored by freqlabs on May 1 2019, 1:05 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, May 14, 10:34 AM
Unknown Object (File)
Fri, May 10, 7:42 PM
Unknown Object (File)
Thu, May 9, 12:38 AM
Unknown Object (File)
Wed, May 8, 7:35 PM
Unknown Object (File)
Sat, Apr 27, 6:49 PM
Unknown Object (File)
Sat, Apr 27, 6:49 PM
Unknown Object (File)
Sat, Apr 27, 6:44 PM
Unknown Object (File)
Sat, Apr 27, 4:58 PM
Subscribers

Details

Summary

All of the error cases in differ() set di->zerr to EPIPE so it doesn't make sense to assert that the error is EINVAL. If an error is set, assert it is EPIPE.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped