From owner-p4-projects@FreeBSD.ORG Tue Jun 22 20:10:38 2010 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 77D071065670; Tue, 22 Jun 2010 20:10:38 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3CB11106564A for ; Tue, 22 Jun 2010 20:10:38 +0000 (UTC) (envelope-from peter@wemm.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 116B28FC08 for ; Tue, 22 Jun 2010 20:10:38 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o5MKAbju067194 for ; Tue, 22 Jun 2010 20:10:37 GMT (envelope-from peter@wemm.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o5MKAbsH067192 for perforce@freebsd.org; Tue, 22 Jun 2010 20:10:37 GMT (envelope-from peter@wemm.org) Date: Tue, 22 Jun 2010 20:10:37 GMT Message-Id: <201006222010.o5MKAbsH067192@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to peter@wemm.org using -f From: Peter Wemm To: Perforce Change Reviews Precedence: bulk Cc: Subject: PERFORCE change 180118 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jun 2010 20:10:38 -0000 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 */