Page MenuHomeFreeBSD

Correct logic error
ClosedPublic

Authored by allanjude on Jun 16 2018, 1:47 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, May 17, 10:56 PM
Unknown Object (File)
Sun, May 17, 10:56 PM
Unknown Object (File)
Sun, May 17, 10:42 PM
Unknown Object (File)
Apr 25 2026, 6:02 AM
Unknown Object (File)
Apr 22 2026, 10:37 AM
Unknown Object (File)
Apr 19 2026, 12:44 PM
Unknown Object (File)
Apr 18 2026, 2:30 PM
Unknown Object (File)
Apr 12 2026, 5:02 PM
Subscribers
None

Details

Summary

While investigating an issue with GELI boot, I found what looks like a logic error. The contents of the if statement are definately meant to run if disk_ioctl successed, but actually only run if it fails. This also results in the 'We should not get here' code running in most cases

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Yes sir! We have a winner!

This revision is now accepted and ready to land.Jun 16 2018, 2:46 AM
This revision was automatically updated to reflect the committed changes.