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)
Sun, Dec 29, 6:44 PM
Unknown Object (File)
Sat, Dec 14, 9:27 PM
Unknown Object (File)
Oct 27 2024, 10:59 PM
Unknown Object (File)
Oct 18 2024, 6:34 PM
Unknown Object (File)
Oct 4 2024, 10:29 AM
Unknown Object (File)
Sep 23 2024, 3:12 PM
Unknown Object (File)
Sep 16 2024, 9:33 AM
Unknown Object (File)
Sep 13 2024, 10:31 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 Not Applicable
Unit
Tests Not Applicable