summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/dev/vdsp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sparc64/dev/vdsp.c')
-rw-r--r--sys/arch/sparc64/dev/vdsp.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/arch/sparc64/dev/vdsp.c b/sys/arch/sparc64/dev/vdsp.c
index a08778cc7f1..9d50c2ffe18 100644
--- a/sys/arch/sparc64/dev/vdsp.c
+++ b/sys/arch/sparc64/dev/vdsp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vdsp.c,v 1.44 2018/04/28 03:13:04 visa Exp $ */
+/* $OpenBSD: vdsp.c,v 1.45 2018/05/02 02:24:55 visa Exp $ */
/*
* Copyright (c) 2009, 2011, 2014 Mark Kettenis
*
@@ -1011,7 +1011,7 @@ vdsp_readlabel(struct vdsp_softc *sc)
uio.uio_rw = UIO_READ;
uio.uio_procp = p;
- vn_lock(sc->sc_vp, LK_EXCLUSIVE | LK_RETRY, p);
+ vn_lock(sc->sc_vp, LK_EXCLUSIVE | LK_RETRY);
err = VOP_READ(sc->sc_vp, &uio, 0, p->p_ucred);
VOP_UNLOCK(sc->sc_vp);
if (err) {
@@ -1041,7 +1041,7 @@ vdsp_writelabel(struct vdsp_softc *sc)
uio.uio_rw = UIO_WRITE;
uio.uio_procp = p;
- vn_lock(sc->sc_vp, LK_EXCLUSIVE | LK_RETRY, p);
+ vn_lock(sc->sc_vp, LK_EXCLUSIVE | LK_RETRY);
err = VOP_WRITE(sc->sc_vp, &uio, 0, p->p_ucred);
VOP_UNLOCK(sc->sc_vp);
@@ -1072,7 +1072,7 @@ vdsp_is_iso(struct vdsp_softc *sc)
uio.uio_rw = UIO_READ;
uio.uio_procp = p;
- vn_lock(sc->sc_vp, LK_EXCLUSIVE | LK_RETRY, p);
+ vn_lock(sc->sc_vp, LK_EXCLUSIVE | LK_RETRY);
err = VOP_READ(sc->sc_vp, &uio, 0, p->p_ucred);
VOP_UNLOCK(sc->sc_vp);
@@ -1151,7 +1151,7 @@ vdsp_read_desc(struct vdsp_softc *sc, struct vdsk_desc_msg *dm)
uio.uio_rw = UIO_READ;
uio.uio_procp = p;
- vn_lock(sc->sc_vp, LK_EXCLUSIVE | LK_RETRY, p);
+ vn_lock(sc->sc_vp, LK_EXCLUSIVE | LK_RETRY);
dm->status = VOP_READ(sc->sc_vp, &uio, 0, p->p_ucred);
VOP_UNLOCK(sc->sc_vp);
@@ -1225,7 +1225,7 @@ vdsp_read_dring(void *arg1, void *arg2)
uio.uio_rw = UIO_READ;
uio.uio_procp = p;
- vn_lock(sc->sc_vp, LK_EXCLUSIVE | LK_RETRY, p);
+ vn_lock(sc->sc_vp, LK_EXCLUSIVE | LK_RETRY);
vd->status = VOP_READ(sc->sc_vp, &uio, 0, p->p_ucred);
VOP_UNLOCK(sc->sc_vp);
@@ -1324,7 +1324,7 @@ vdsp_write_dring(void *arg1, void *arg2)
uio.uio_rw = UIO_WRITE;
uio.uio_procp = p;
- vn_lock(sc->sc_vp, LK_EXCLUSIVE | LK_RETRY, p);
+ vn_lock(sc->sc_vp, LK_EXCLUSIVE | LK_RETRY);
vd->status = VOP_WRITE(sc->sc_vp, &uio, 0, p->p_ucred);
VOP_UNLOCK(sc->sc_vp);