/* The mount point's vnode. */
if (tvp) {
attrs->va_nodeid =
- tvp->mtpoint.Fid.Vnode + (tvp->mtpoint.Fid.Volume << 16);
+ afs_calc_inum (tvp->mtpoint.Fid.Volume,
+ tvp->mtpoint.Fid.Vnode);
if (FidCmp(&afs_rootFid, &avc->fid) && !attrs->va_nodeid)
attrs->va_nodeid = 2;
afs_PutVolume(tvp, READ_LOCK);
} else
attrs->va_nodeid = 2;
} else
- attrs->va_nodeid = avc->fid.Fid.Vnode + (avc->fid.Fid.Volume << 16);
+ attrs->va_nodeid =
+ afs_calc_inum (avc->fid.Fid.Volume,
+ avc->fid.Fid.Vnode);
attrs->va_nodeid &= 0x7fffffff; /* Saber C hates negative inode #s! */
attrs->va_nlink = fakedir ? 100 : avc->m.LinkCount;
attrs->va_size = fakedir ? 4096 : avc->m.Length;