version 1.2, 1993/03/25 06:00:18 |
version 1.3, 1993/06/07 04:56:35 |
Line 92 fdesc_mount(mp, path, data, ndp, p) |
|
Line 92 fdesc_mount(mp, path, data, ndp, p) |
|
return (error); |
return (error); |
|
|
fmp = (struct fdescmount *) malloc(sizeof(struct fdescmount), |
fmp = (struct fdescmount *) malloc(sizeof(struct fdescmount), |
M_UFSMNT, M_WAITOK); /* XXX */ |
M_MISCFSMNT, M_WAITOK); |
rvp->v_type = VDIR; |
rvp->v_type = VDIR; |
rvp->v_flag |= VROOT; |
rvp->v_flag |= VROOT; |
/*VTOFDESC(rvp)->f_isroot = 1;*/ |
/*VTOFDESC(rvp)->f_isroot = 1;*/ |
Line 179 fdesc_unmount(mp, mntflags, p) |
|
Line 179 fdesc_unmount(mp, mntflags, p) |
|
/* |
/* |
* Finally, throw away the fdescmount structure |
* Finally, throw away the fdescmount structure |
*/ |
*/ |
free(mp->mnt_data, M_UFSMNT); /* XXX */ |
free(mp->mnt_data, M_MISCFSMNT); |
mp->mnt_data = 0; |
mp->mnt_data = 0; |
return 0; |
return 0; |
} |
} |