Date: Wed, 22 Feb 2006 02:52:33 GMT From: Wayne Salamon <wsalamon@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 92172 for review Message-ID: <200602220252.k1M2qXlM098008@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=92172 Change 92172 by wsalamon@gretsch on 2006/02/22 02:51:36 Bring the kern_futimes() function in agreement with the current FreeBSD CVS version. Affected files ... .. //depot/projects/trustedbsd/audit3/sys/kern/vfs_syscalls.c#27 edit Differences ... ==== //depot/projects/trustedbsd/audit3/sys/kern/vfs_syscalls.c#27 (text+ko) ==== @@ -2971,11 +2971,10 @@ int error; AUDIT_ARG(fd, fd); + if ((error = getutimes(tptr, tptrseg, ts)) != 0) + return (error); if ((error = getvnode(td->td_proc->p_fd, fd, &fp)) != 0) return (error); - - if ((error = getutimes(tptr, tptrseg, ts)) != 0) - return (error); vfslocked = VFS_LOCK_GIANT(fp->f_vnode->v_mount); error = setutimes(td, fp->f_vnode, ts, 2, tptr == NULL); VFS_UNLOCK_GIANT(vfslocked);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602220252.k1M2qXlM098008>