change ino_t to u_int32_t for syscall compatibility.
This commit is contained in:
parent
d8cca2c4c2
commit
b0e192f2b6
@ -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 @@ struct ifile {
|
||||
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 @@ typedef struct ifile_v1 IFILE_V1;
|
||||
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 @@ struct lfs {
|
||||
* 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 @@ typedef struct block_info {
|
||||
|
||||
/* 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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user