Date: Tue, 22 Jun 2010 20:10:37 GMT From: Peter Wemm <peter@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 180118 for review Message-ID: <201006222010.o5MKAbsH067192@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/@@180118?ac=10 Change 180118 by peter@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 */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006222010.o5MKAbsH067192>