solaris-dont-truncate-inode-number-20020930
authorDerrick Brashear <shadow@dementia.org>
Tue, 1 Oct 2002 04:32:22 +0000 (04:32 +0000)
committerDerrick Brashear <shadow@dementia.org>
Tue, 1 Oct 2002 04:32:22 +0000 (04:32 +0000)
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

index 24d1e6a..2df465b 100644 (file)
@@ -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;