Date: Wed, 17 Jul 2002 12:15:41 +0200 From: Udo Schweigert <Udo.Schweigert@siemens.com> To: Kirk McKusick <mckusick@FreeBSD.ORG> Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/kern vfs_syscalls.c vfs_vnops.c src/sys/sys stat.h vnode.h src/sys/ufs/ffs ffs_alloc.c src/sys/ufs/ufs dinode.h ufs_vnops.c Message-ID: <20020717101541.GA77906@alaska.cert.siemens.de> In-Reply-To: <200207162236.g6GMa0w0094780@freefall.freebsd.org> References: <200207162236.g6GMa0w0094780@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jul 16, 2002 at 15:36:00 -0700, Kirk McKusick wrote: > mckusick 2002/07/16 15:36:00 PDT > > Modified files: > sys/kern vfs_syscalls.c vfs_vnops.c > sys/sys stat.h vnode.h > sys/ufs/ffs ffs_alloc.c > sys/ufs/ufs dinode.h ufs_vnops.c > Log: > Change the name of st_createtime to st_birthtime. This change is > made to reduce confusion between st_ctime and st_createtime. > This broke sbin/newfs. ===> sbin/newfs cc -O -pipe -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c /usr/src/sbin/newfs/mkfs.c /usr/src/sbin/newfs/mkfs.c: In function `fsinit': /usr/src/sbin/newfs/mkfs.c:711: structure has no member named `di_createtime' *** Error code 1 Here's a fix: --- mkfs.c.orig Thu Jul 11 19:49:41 2002 +++ mkfs.c Wed Jul 17 12:12:14 2002 @@ -708,7 +708,7 @@ node.dp2.di_atime = utime; node.dp2.di_mtime = utime; node.dp2.di_ctime = utime; - node.dp2.di_createtime = utime; + node.dp2.di_birthtime = utime; /* * create the root directory */ Best regards -- Udo Schweigert, Siemens AG | Voice : +49 89 636 42170 CT IC CERT, Siemens CERT | Fax : +49 89 636 41166 D-81730 Muenchen / Germany | email : udo.schweigert@siemens.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020717101541.GA77906>