{
struct inode *ip;
register struct osi_file *afile = NULL;
- extern struct vfs *rootvfs;
struct vnode *vp = NULL;
extern int cacheDiskType;
afs_int32 code = 0;
afile = (struct osi_file *)osi_AllocSmallSpace(sizeof(struct osi_file));
setuerror(0);
AFS_GUNLOCK();
- ip = (struct inode *)igetinode((dev_t) cacheDev.dev, rootvfs,
+ ip = (struct inode *)igetinode((dev_t) cacheDev.dev, afs_cacheVfsp,
(ino_t) ainode, &vp, &dummy);
AFS_GLOCK();
if (getuerror()) {
struct inode *ip, *newip, *pip;
register int err, rval1, rc = 0;
struct vnode *vp = NULL;
- extern struct vfs *rootvfs;
register struct vfs *vfsp;
struct vfs *nvfsp = NULL;
char error;