|
|
| version 1.13, 2004/03/31 02:34:37 | version 1.14, 2004/05/19 22:53:04 |
|---|---|
| Line 118 coda_mount(struct mount *vfsp, /* Alloca | Line 118 coda_mount(struct mount *vfsp, /* Alloca |
| { | { |
| struct vnode *dvp; | struct vnode *dvp; |
| struct cnode *cp; | struct cnode *cp; |
| dev_t dev; | udev_t udev; |
| struct coda_mntinfo *mi; | struct coda_mntinfo *mi; |
| struct vnode *rootvp; | struct vnode *rootvp; |
| ViceFid rootfid; | ViceFid rootfid; |
| Line 151 coda_mount(struct mount *vfsp, /* Alloca | Line 151 coda_mount(struct mount *vfsp, /* Alloca |
| NDFREE(ndp, NDF_ONLY_PNBUF); | NDFREE(ndp, NDF_ONLY_PNBUF); |
| return(ENXIO); | return(ENXIO); |
| } | } |
| dev = dvp->v_rdev; | udev = dvp->v_rdev; |
| vrele(dvp); | vrele(dvp); |
| NDFREE(ndp, NDF_ONLY_PNBUF); | NDFREE(ndp, NDF_ONLY_PNBUF); |
| Line 166 coda_mount(struct mount *vfsp, /* Alloca | Line 166 coda_mount(struct mount *vfsp, /* Alloca |
| } | } |
| #endif | #endif |
| if (minor(dev) >= NVCODA || minor(dev) < 0) { | if (uminor(udev) >= NVCODA || uminor(udev) < 0) { |
| MARK_INT_FAIL(CODA_MOUNT_STATS); | MARK_INT_FAIL(CODA_MOUNT_STATS); |
| return(ENXIO); | return(ENXIO); |
| } | } |
| Line 174 coda_mount(struct mount *vfsp, /* Alloca | Line 174 coda_mount(struct mount *vfsp, /* Alloca |
| /* | /* |
| * Initialize the mount record and link it to the vfs struct | * Initialize the mount record and link it to the vfs struct |
| */ | */ |
| mi = &coda_mnttbl[minor(dev)]; | mi = &coda_mnttbl[uminor(udev)]; |
| if (!VC_OPEN(&mi->mi_vcomm)) { | if (!VC_OPEN(&mi->mi_vcomm)) { |
| MARK_INT_FAIL(CODA_MOUNT_STATS); | MARK_INT_FAIL(CODA_MOUNT_STATS); |