On 10/16/2017 09:14, Matt Joras wrote:
> Author: mjoras
> Date: Mon Oct 16 16:14:50 2017
> New Revision: 324666
> URL: https://svnweb.freebsd.org/changeset/base/324666
>
> Log:
>   Properly reset the fields in clean_unrhdr.
>   
>   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 by calling init_unrhdr.
>   While here, change a loop to use TAILQ_FOREACH_SAFE since it is more
>   readable and equally fast.
>   
>   Reported by:        David Wolfskill <da...@catwhisker.org>
>   Approved by:        rstone (mentor)
>   Sponsored by:       Dell EMC Isilon
>
Differential Revision: https://reviews.freebsd.org/D12662

_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to