From d04a30d76b7b55aef7ec7463a6b0ba3cbc06b08a Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Tue, 1 Oct 2002 04:32:22 +0000 Subject: [PATCH] solaris-dont-truncate-inode-number-20020930 if ino_t is a larger type than afs_int32, we lose bits, then treat it as if nothing happened... --- src/afs/SOLARIS/osi_file.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/afs/SOLARIS/osi_file.c b/src/afs/SOLARIS/osi_file.c index 24d1e6a3ec..2df465bba1 100644 --- a/src/afs/SOLARIS/osi_file.c +++ b/src/afs/SOLARIS/osi_file.c @@ -148,7 +148,11 @@ void *osi_VxfsOpen(afs_int32 ainode) } #endif /* AFS_HAVE_VXFS */ +#if defined(AFS_SUN57_64BIT_ENV) +void *osi_UfsOpen(ino_t ainode) +#else void *osi_UfsOpen(afs_int32 ainode) +#endif { struct inode *ip; register struct osi_file *afile = NULL;