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...
This commit is contained in:
Derrick Brashear 2002-10-01 04:32:22 +00:00
parent aab137dc71
commit d04a30d76b

View 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;