Fix a typo that was doing something kind of silly, and that is initializing

the creation time for files to the uninitialized value:

	vap->va_ctime = vap->va_ctime;

Changed to what was intended, assigning it to the modification time (thus
making all three values of access time, modification time and creation time
the same thing).

Reviewed by:	grog
This commit is contained in:
Chris Costello 1999-12-21 06:29:00 +00:00
parent 78f79916e1
commit 1b900f573c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=54932
3 changed files with 3 additions and 3 deletions

View File

@ -453,7 +453,7 @@ portal_getattr(ap)
vap->va_blocksize = DEV_BSIZE;
nanotime(&vap->va_atime);
vap->va_mtime = vap->va_atime;
vap->va_ctime = vap->va_ctime;
vap->va_ctime = vap->va_mtime;
vap->va_gen = 0;
vap->va_flags = 0;
vap->va_rdev = 0;

View File

@ -365,7 +365,7 @@ kernfs_getattr(ap)
vap->va_blocksize = DEV_BSIZE;
nanotime(&vap->va_atime);
vap->va_mtime = vap->va_atime;
vap->va_ctime = vap->va_ctime;
vap->va_ctime = vap->va_mtime;
vap->va_gen = 0;
vap->va_flags = 0;
vap->va_rdev = 0;

View File

@ -453,7 +453,7 @@ portal_getattr(ap)
vap->va_blocksize = DEV_BSIZE;
nanotime(&vap->va_atime);
vap->va_mtime = vap->va_atime;
vap->va_ctime = vap->va_ctime;
vap->va_ctime = vap->va_mtime;
vap->va_gen = 0;
vap->va_flags = 0;
vap->va_rdev = 0;