diff options
author | peter <peter@FreeBSD.org> | 2001-07-16 00:55:27 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2001-07-16 00:55:27 +0000 |
commit | 57a68876635a47a73b98c187b885f2fc2608a614 (patch) | |
tree | 5b913489c864f203d9053ea5e6a55f39a7d8db94 /sys/ufs/ffs | |
parent | c31a4fa763807c699abe3c2266b9c3f348c9cab3 (diff) | |
download | FreeBSD-src-57a68876635a47a73b98c187b885f2fc2608a614.zip FreeBSD-src-57a68876635a47a73b98c187b885f2fc2608a614.tar.gz |
Use a fixed type for times in on-disk structures for ufs rather than
something that could potentially change like time_t.
Diffstat (limited to 'sys/ufs/ffs')
-rw-r--r-- | sys/ufs/ffs/fs.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/ufs/ffs/fs.h b/sys/ufs/ffs/fs.h index 0a3ad96..4371f6c 100644 --- a/sys/ufs/ffs/fs.h +++ b/sys/ufs/ffs/fs.h @@ -226,7 +226,7 @@ struct fs { ufs_daddr_t fs_dblkno; /* offset of first data after cg */ int32_t fs_cgoffset; /* cylinder group offset in cylinder */ int32_t fs_cgmask; /* used to calc mod fs_ntrak */ - time_t fs_time; /* last time written */ + ufs_time_t fs_time; /* last time written */ int32_t fs_size; /* number of blocks in fs */ int32_t fs_dsize; /* number of data blocks in fs */ int32_t fs_ncg; /* number of cylinder groups */ @@ -389,7 +389,7 @@ struct fs { struct cg { int32_t cg_firstfield; /* historic cyl groups linked list */ int32_t cg_magic; /* magic number */ - time_t cg_time; /* time last written */ + ufs_time_t cg_time; /* time last written */ int32_t cg_cgx; /* we are the cgx'th cylinder group */ int16_t cg_ncyl; /* number of cyl's this cg */ int16_t cg_niblk; /* number of inode blocks this cg */ @@ -446,7 +446,7 @@ struct cg { struct ocg { int32_t cg_firstfield; /* historic linked list of cyl groups */ int32_t cg_unused_1; /* used for incore cyl groups */ - time_t cg_time; /* time last written */ + ufs_time_t cg_time; /* time last written */ int32_t cg_cgx; /* we are the cgx'th cylinder group */ int16_t cg_ncyl; /* number of cyl's this cg */ int16_t cg_niblk; /* number of inode blocks this cg */ |