Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/ufs/ufs now that we've changed the _DIRENT_ALIGN macro, ...
details: https://anonhg.NetBSD.org/src/rev/e913c310372e
branches: trunk
changeset: 583688:e913c310372e
user: christos <christos%NetBSD.org@localhost>
date: Fri Aug 19 05:28:48 2005 +0000
description:
now that we've changed the _DIRENT_ALIGN macro, provide a d_fileno for struct
direct
diffstat:
sys/ufs/ufs/dir.h | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r fd010e394ba5 -r e913c310372e sys/ufs/ufs/dir.h
--- a/sys/ufs/ufs/dir.h Fri Aug 19 05:19:49 2005 +0000
+++ b/sys/ufs/ufs/dir.h Fri Aug 19 05:28:48 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dir.h,v 1.17 2003/08/07 16:34:42 agc Exp $ */
+/* $NetBSD: dir.h,v 1.18 2005/08/19 05:28:48 christos Exp $ */
/*
* Copyright (c) 1982, 1986, 1989, 1993
@@ -78,8 +78,9 @@
#define MAXNAMLEN 255
#define APPLEUFS_DIRBLKSIZ 1024
+#define d_ino d_fileno
struct direct {
- u_int32_t d_ino; /* inode number of entry */
+ u_int32_t d_fileno; /* inode number of entry */
u_int16_t d_reclen; /* length of this record */
u_int8_t d_type; /* file type, see below */
u_int8_t d_namlen; /* length of string in d_name */
Home |
Main Index |
Thread Index |
Old Index