On Wednesday, May 02, 2012 3:25:15 pm Doug Barton wrote:
> On 5/2/2012 7:25 AM, John Baldwin wrote:
> >   - Simplify accounting log rotation a bit.  There is no need to re-run
> >     accton(8) after renaming the new log file to it's real name.
> 
> Have you thoroughly tested this change? I remember adding that on
> purpose, but I couldn't tell you for sure at this point exactly why.

The reporter tested it.  However, the kernel has no notion of the pathname
once it has opened the file.  It just holds a reference to the vnode directly,
and the rename of the file will not invalidate that reference.

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

Reply via email to