:
:Why not this:
:
:s = splbio();
:TAILQ_FOREACH(bp, &vp->v_dirtyblkhd, b_vnbufs) {

    First rule when making simple bug fixes by copying working code from one
    source file to another is:  Dont try to optimize the code on the
    fly.

    Personally speaking, I don't find the FOREACH macros any more readable
    vs an explicit for loop.  They hide too much... like for example the
    fact that you are dependant on the current pointer remaining valid to
    get the next pointer in the loop.

                                        -Matt



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to