diff options
| author | ross <ross@NetBSD.org> | 1998-03-01 07:15:39 +0000 |
|---|---|---|
| committer | ross <ross@NetBSD.org> | 1998-03-01 07:15:39 +0000 |
| commit | 331fee623ed306c6720ed39edfbc5ef1d8514ce9 (patch) | |
| tree | 7f3d0d98215eb03ae26037c66876bfcd51e1cf2b /sys/dev/ccd.c | |
| parent | c6b14e94ad002897ff1de487eec6e2b1f6af0670 (diff) | |
Sweep up some miscellaneous leftover lite2 integration shrapnel.
Diffstat (limited to 'sys/dev/ccd.c')
| -rw-r--r-- | sys/dev/ccd.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/ccd.c b/sys/dev/ccd.c index 3128fce805e..38a9c3f5bb9 100644 --- a/sys/dev/ccd.c +++ b/sys/dev/ccd.c @@ -1,4 +1,4 @@ -/* $NetBSD: ccd.c,v 1.48 1998/02/22 07:14:30 enami Exp $ */ +/* $NetBSD: ccd.c,v 1.49 1998/03/01 07:15:39 ross Exp $ */ /*- * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc. @@ -1376,7 +1376,7 @@ ccdlookup(path, p, vpp) vp = nd.ni_vp; if (vp->v_usecount > 1) { - VOP_UNLOCK(vp); + VOP_UNLOCK(vp, 0); (void)vn_close(vp, FREAD|FWRITE, p->p_ucred, p); return (EBUSY); } @@ -1386,14 +1386,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); (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); (void)vn_close(vp, FREAD|FWRITE, p->p_ucred, p); return (ENOTBLK); } @@ -1403,7 +1403,7 @@ ccdlookup(path, p, vpp) vprint("ccdlookup: vnode info", vp); #endif - VOP_UNLOCK(vp); + VOP_UNLOCK(vp, 0); *vpp = vp; return (0); } |
