PERFORCE change 180118 for review
Peter Wemm
peter at FreeBSD.org
Tue Jun 22 20:10:38 UTC 2010
http://p4web.freebsd.org/@@180118?ac=10
Change 180118 by peter at peter_daintree on 2010/06/22 20:10:13
Update to new world order.
Affected files ...
.. //depot/projects/hammer/sys/kern/vfs_syscalls.c#98 edit
.. //depot/projects/hammer/sys/sys/stat.h#18 edit
Differences ...
==== //depot/projects/hammer/sys/kern/vfs_syscalls.c#98 (text+ko) ====
@@ -2289,15 +2289,15 @@
nst->st_uid = st->st_uid;
nst->st_gid = st->st_gid;
nst->st_rdev = st->st_rdev;
- nst->st_atimespec = st->st_atimespec;
- nst->st_mtimespec = st->st_mtimespec;
- nst->st_ctimespec = st->st_ctimespec;
+ nst->st_atim = st->st_atim;
+ nst->st_mtim = st->st_mtim;
+ nst->st_ctim = st->st_ctim;
nst->st_size = st->st_size;
nst->st_blocks = st->st_blocks;
nst->st_blksize = st->st_blksize;
nst->st_flags = st->st_flags;
nst->st_gen = st->st_gen;
- nst->st_birthtimespec = st->st_birthtimespec;
+ nst->st_birthtim = st->st_birthtim;
}
/*
==== //depot/projects/hammer/sys/sys/stat.h#18 (text+ko) ====
@@ -158,21 +158,10 @@
uid_t st_uid; /* user ID of the file's owner */
gid_t st_gid; /* group ID of the file's group */
__new_ino_t st_ino; /* inode's number */
-#if __BSD_VISIBLE
- struct timespec st_atimespec; /* time of last access */
- struct timespec st_mtimespec; /* time of last data modification */
- struct timespec st_ctimespec; /* time of last file status change */
- struct timespec st_birthtimespec; /* time of file creation */
-#else
- time_t st_atime; /* time of last access */
- long st_atimensec; /* nsec of last access */
- time_t st_mtime; /* time of last data modification */
- long st_mtimensec; /* nsec of last data modification */
- time_t st_ctime; /* time of last file status change */
- long st_ctimensec; /* nsec of last file status change */
- time_t st_birthtime; /* time of file creation */
- long st_birthtimensec; /* nsec of file creation */
-#endif
+ struct timespec st_atim; /* time of last access */
+ struct timespec st_mtim; /* time of last data modification */
+ struct timespec st_ctim; /* time of last file status change */
+ struct timespec st_birthtim; /* time of file creation */
off_t st_size; /* file size, in bytes */
__int64_t st_blocks; /* blocks allocated for file */
__uint32_t st_blksize; /* optimal blocksize for I/O */
More information about the p4-projects
mailing list