diff options
author | mpp <mpp@FreeBSD.org> | 1997-02-10 16:24:33 +0000 |
---|---|---|
committer | mpp <mpp@FreeBSD.org> | 1997-02-10 16:24:33 +0000 |
commit | 87b55298dc40d4537d39bafdcd05c6e8e57e6efb (patch) | |
tree | 0ca999050c2f3067bb1e1d318f80efa8bbf7965b /sys/geom/geom_ccd.c | |
parent | 885216ad88d84a2cf1748ff6184f296001abba4f (diff) | |
download | FreeBSD-src-87b55298dc40d4537d39bafdcd05c6e8e57e6efb.zip FreeBSD-src-87b55298dc40d4537d39bafdcd05c6e8e57e6efb.tar.gz |
Make ccd compile again after the Lite2 merge.
VOP_UNLOCK was being called with the wrong number of arguments.
Diffstat (limited to 'sys/geom/geom_ccd.c')
-rw-r--r-- | sys/geom/geom_ccd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/geom/geom_ccd.c b/sys/geom/geom_ccd.c index 1a83194..782cb30 100644 --- a/sys/geom/geom_ccd.c +++ b/sys/geom/geom_ccd.c @@ -1380,7 +1380,7 @@ ccdlookup(path, p, vpp) vp = nd.ni_vp; if (vp->v_usecount > 1) { - VOP_UNLOCK(vp); + VOP_UNLOCK(vp, 0, p); (void)vn_close(vp, FREAD|FWRITE, p->p_ucred, p); return (EBUSY); } @@ -1390,14 +1390,14 @@ ccdlookup(path, p, vpp) if (ccddebug & CCDB_FOLLOW|CCDB_INIT) printf("ccdlookup: getattr error = %d\n", error); #endif - VOP_UNLOCK(vp); + VOP_UNLOCK(vp, 0, p); (void)vn_close(vp, FREAD|FWRITE, p->p_ucred, p); return (error); } /* XXX: eventually we should handle VREG, too. */ if (va.va_type != VBLK) { - VOP_UNLOCK(vp); + VOP_UNLOCK(vp, 0, p); (void)vn_close(vp, FREAD|FWRITE, p->p_ucred, p); return (ENOTBLK); } @@ -1407,7 +1407,7 @@ ccdlookup(path, p, vpp) vprint("ccdlookup: vnode info", vp); #endif - VOP_UNLOCK(vp); + VOP_UNLOCK(vp, 0, p); *vpp = vp; return (0); } |