Uwe Doering wrote: > + vnode_pager_setsize(vp, 0); > > I wonder, isn't the variable 'vp' actually supposed to be 'ovp' in the > added line? Technically they are identical. 'ovp' is assigned from > 'vp' once in the variable definition section at the start of the function. > > However, using 'vp' when calling vnode_pager_setsize() looks a little > odd given that anywhere else in this function, including another call to > vnode_pager_setsize(), the variable 'ovp' is used instead of 'vp'.
I agree that it looks a bit odd; a few people have pointed this out to us (but none of them before it was committed into the CVS tree). That said, it doesn't seem to matter, so I'm not going to go back and change the patch now. Colin Percival _______________________________________________ freebsd-security@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-security To unsubscribe, send any mail to "[EMAIL PROTECTED]"