Page MenuHomeFreeBSD

Properly reset fields in clean_unrhdr.
ClosedPublic

Authored by mjoras on Oct 13 2017, 5:17 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, May 17, 4:59 AM
Unknown Object (File)
Sat, May 16, 7:12 AM
Unknown Object (File)
Fri, May 15, 7:19 AM
Unknown Object (File)
Fri, May 15, 4:17 AM
Unknown Object (File)
Thu, May 14, 6:33 PM
Unknown Object (File)
Wed, May 13, 8:40 AM
Unknown Object (File)
Tue, May 12, 4:32 AM
Unknown Object (File)
Tue, May 12, 1:26 AM
Subscribers

Details

Reviewers
rstone
Summary

In r324542 I neglected to reset the first and last fields of struct
unrhdr. This causes a tmpfs to fail the unr(9) consistency checks with
DIAGNOSTIC on. Fix this by resetting the fields to be as if init_unrhdr
was called.

Test Plan

Tested using a tmpfs with an extracted ports tree, unmounted with DIAGNOSTIC
on.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 12053
Build 12360: arc lint + arc unit