diff options
author | nate <nate@FreeBSD.org> | 1996-09-20 05:56:36 +0000 |
---|---|---|
committer | nate <nate@FreeBSD.org> | 1996-09-20 05:56:36 +0000 |
commit | 41b14ae59f9f66d7d6d535b533b95b59af36964b (patch) | |
tree | ed5a5782a68afb9e98b2187b465c3a8ae7971751 /sys | |
parent | 94c51e38c1f65fc23437c175b6b9e432e0444cc6 (diff) | |
download | FreeBSD-src-41b14ae59f9f66d7d6d535b533b95b59af36964b.zip FreeBSD-src-41b14ae59f9f66d7d6d535b533b95b59af36964b.tar.gz |
Whoops, I should've used the LINT config file. More ts -> tv changes
for timespec structure.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/fs/fdescfs/fdesc_vnops.c | 6 | ||||
-rw-r--r-- | sys/miscfs/devfs/devfs_vnops.c | 16 | ||||
-rw-r--r-- | sys/miscfs/fdesc/fdesc_vnops.c | 6 | ||||
-rw-r--r-- | sys/ufs/lfs/lfs_inode.c | 8 |
4 files changed, 18 insertions, 18 deletions
diff --git a/sys/fs/fdescfs/fdesc_vnops.c b/sys/fs/fdescfs/fdesc_vnops.c index 8b08090..0f4ea9b 100644 --- a/sys/fs/fdescfs/fdesc_vnops.c +++ b/sys/fs/fdescfs/fdesc_vnops.c @@ -35,7 +35,7 @@ * * @(#)fdesc_vnops.c 8.9 (Berkeley) 1/21/94 * - * $Id: fdesc_vnops.c,v 1.17 1996/06/12 05:09:52 gpalmer Exp $ + * $Id: fdesc_vnops.c,v 1.18 1996/09/03 14:22:12 bde Exp $ */ /* @@ -488,8 +488,8 @@ fdesc_getattr(ap) vap->va_gid = 0; vap->va_fsid = vp->v_mount->mnt_stat.f_fsid.val[0]; vap->va_blocksize = DEV_BSIZE; - vap->va_atime.ts_sec = boottime.tv_sec; - vap->va_atime.ts_nsec = 0; + vap->va_atime.tv_sec = boottime.tv_sec; + vap->va_atime.tv_nsec = 0; vap->va_mtime = vap->va_atime; vap->va_ctime = vap->va_mtime; vap->va_gen = 0; diff --git a/sys/miscfs/devfs/devfs_vnops.c b/sys/miscfs/devfs/devfs_vnops.c index 783078b..ef17d50 100644 --- a/sys/miscfs/devfs/devfs_vnops.c +++ b/sys/miscfs/devfs/devfs_vnops.c @@ -1,7 +1,7 @@ /* * Written by Julian Elischer (julian@DIALix.oz.au) * - * $Header: /home/ncvs/src/sys/miscfs/devfs/devfs_vnops.c,v 1.25 1996/09/10 08:27:39 bde Exp $ + * $Header: /home/ncvs/src/sys/miscfs/devfs/devfs_vnops.c,v 1.26 1996/09/11 07:52:18 julian Exp $ * * symlinks can wait 'til later. */ @@ -555,7 +555,7 @@ DBPRINT(("getattr\n")); vap->va_fileid = (long)file_node; vap->va_size = file_node->len; /* now a u_quad_t */ vap->va_blocksize = 512; - if(file_node->ctime.ts_sec) + if(file_node->ctime.tv_sec) { vap->va_ctime = file_node->ctime; } @@ -563,7 +563,7 @@ DBPRINT(("getattr\n")); { TIMEVAL_TO_TIMESPEC(&boottime,&(vap->va_ctime)); } - if(file_node->mtime.ts_sec) + if(file_node->mtime.tv_sec) { vap->va_mtime = file_node->mtime; } @@ -571,7 +571,7 @@ DBPRINT(("getattr\n")); { TIMEVAL_TO_TIMESPEC(&boottime,&(vap->va_mtime)); } - if(file_node->atime.ts_sec) + if(file_node->atime.tv_sec) { vap->va_atime = file_node->atime; } @@ -617,7 +617,7 @@ DBPRINT(("setattr\n")); (vap->va_rdev != VNOVAL) || (vap->va_bytes != VNOVAL) || (vap->va_gen != VNOVAL) || - (vap->va_atime.ts_sec != VNOVAL)) + (vap->va_atime.tv_sec != VNOVAL)) { return EINVAL; } @@ -625,17 +625,17 @@ DBPRINT(("setattr\n")); if (vap->va_size != VNOVAL) { return error; /*XXX (?) */ } - if (vap->va_atime.ts_sec != VNOVAL) + if (vap->va_atime.tv_sec != VNOVAL) { file_node->atime = vap->va_atime; } - if (vap->va_mtime.ts_sec != VNOVAL) + if (vap->va_mtime.tv_sec != VNOVAL) { file_node->mtime = vap->va_mtime; } - if (vap->va_ctime.ts_sec != VNOVAL) + if (vap->va_ctime.tv_sec != VNOVAL) { file_node->ctime = vap->va_ctime; } diff --git a/sys/miscfs/fdesc/fdesc_vnops.c b/sys/miscfs/fdesc/fdesc_vnops.c index 8b08090..0f4ea9b 100644 --- a/sys/miscfs/fdesc/fdesc_vnops.c +++ b/sys/miscfs/fdesc/fdesc_vnops.c @@ -35,7 +35,7 @@ * * @(#)fdesc_vnops.c 8.9 (Berkeley) 1/21/94 * - * $Id: fdesc_vnops.c,v 1.17 1996/06/12 05:09:52 gpalmer Exp $ + * $Id: fdesc_vnops.c,v 1.18 1996/09/03 14:22:12 bde Exp $ */ /* @@ -488,8 +488,8 @@ fdesc_getattr(ap) vap->va_gid = 0; vap->va_fsid = vp->v_mount->mnt_stat.f_fsid.val[0]; vap->va_blocksize = DEV_BSIZE; - vap->va_atime.ts_sec = boottime.tv_sec; - vap->va_atime.ts_nsec = 0; + vap->va_atime.tv_sec = boottime.tv_sec; + vap->va_atime.tv_nsec = 0; vap->va_mtime = vap->va_atime; vap->va_ctime = vap->va_mtime; vap->va_gen = 0; diff --git a/sys/ufs/lfs/lfs_inode.c b/sys/ufs/lfs/lfs_inode.c index 3e5e764..b7e055c 100644 --- a/sys/ufs/lfs/lfs_inode.c +++ b/sys/ufs/lfs/lfs_inode.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)lfs_inode.c 8.5 (Berkeley) 12/30/93 - * $Id: lfs_inode.c,v 1.11 1995/12/07 12:47:55 davidg Exp $ + * $Id: lfs_inode.c,v 1.12 1996/01/05 18:31:52 wollman Exp $ */ #include "opt_quota.h" @@ -114,13 +114,13 @@ lfs_update(ap) return(0); if (ip->i_flag & IN_ACCESS) - ip->i_atime.ts_sec = ap->a_access->tv_sec; + ip->i_atime.tv_sec = ap->a_access->tv_sec; if (ip->i_flag & IN_UPDATE) { - ip->i_mtime.ts_sec = ap->a_modify->tv_sec; + ip->i_mtime.tv_sec = ap->a_modify->tv_sec; (ip)->i_modrev++; } if (ip->i_flag & IN_CHANGE) - ip->i_ctime.ts_sec = time.tv_sec; + ip->i_ctime.tv_sec = time.tv_sec; ip->i_flag &= ~(IN_ACCESS | IN_CHANGE | IN_UPDATE); if (!(ip->i_flag & IN_MODIFIED)) |