Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/ufs/lfs change ino_t to u_int32_t for syscall compatibil...
details: https://anonhg.NetBSD.org/src/rev/bc050c800152
branches: trunk
changeset: 583774:bc050c800152
user: christos <christos%NetBSD.org@localhost>
date: Mon Aug 22 08:53:03 2005 +0000
description:
change ino_t to u_int32_t for syscall compatibility.
diffstat:
sys/ufs/lfs/lfs.h | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (45 lines):
diff -r 5de135488cc9 -r bc050c800152 sys/ufs/lfs/lfs.h
--- a/sys/ufs/lfs/lfs.h Mon Aug 22 06:36:31 2005 +0000
+++ b/sys/ufs/lfs/lfs.h Mon Aug 22 08:53:03 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lfs.h,v 1.89 2005/07/31 20:18:32 christos Exp $ */
+/* $NetBSD: lfs.h,v 1.90 2005/08/22 08:53:03 christos Exp $ */
/*-
* Copyright (c) 1999, 2000, 2001, 2002, 2003 The NetBSD Foundation, Inc.
@@ -475,7 +475,7 @@
u_int32_t if_version; /* inode version number */
#define LFS_UNUSED_DADDR 0 /* out-of-band daddr */
int32_t if_daddr; /* inode disk address */
- ino_t if_nextfree; /* next-unallocated inode */
+ u_int32_t if_nextfree; /* next-unallocated inode */
u_int32_t if_atime_sec; /* Last access time, seconds */
u_int32_t if_atime_nsec; /* and nanoseconds */
};
@@ -484,7 +484,7 @@
struct ifile_v1 {
u_int32_t if_version; /* inode version number */
int32_t if_daddr; /* inode disk address */
- ino_t if_nextfree; /* next-unallocated inode */
+ u_int32_t if_nextfree; /* next-unallocated inode */
#if LFS_ATIME_IFILE
struct timespec if_atime; /* Last access time */
#endif
@@ -909,7 +909,7 @@
* about inodes and data blocks.
*/
typedef struct block_info {
- ino_t bi_inode; /* inode # */
+ u_int32_t bi_inode; /* inode # */
int32_t bi_lbn; /* logical block w/in file */
int32_t bi_daddr; /* disk address of block */
u_int64_t bi_segcreate; /* origin segment create time */
@@ -920,7 +920,7 @@
/* Compatibility for 1.5 binaries */
typedef struct block_info_15 {
- ino_t bi_inode; /* inode # */
+ u_int32_t bi_inode; /* inode # */
int32_t bi_lbn; /* logical block w/in file */
int32_t bi_daddr; /* disk address of block */
u_int32_t bi_segcreate; /* origin segment create time */
Home |
Main Index |
Thread Index |
Old Index