summaryrefslogtreecommitdiff
path: root/sys/kern/vfs_syscalls.c
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2017-01-10 19:48:33 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2017-01-10 19:48:33 +0000
commite4d75d036543f7f46f485c3f2b8175ad06c38da5 (patch)
treebb01f942017236ad341c49734950fd86298b2b2e /sys/kern/vfs_syscalls.c
parentc8bdbb2f58a93e166c9af08db5f761399977f64e (diff)
Remove the unused olddp parameter from function dounmount().
OK mpi@ millert@
Diffstat (limited to 'sys/kern/vfs_syscalls.c')
-rw-r--r--sys/kern/vfs_syscalls.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/vfs_syscalls.c b/sys/kern/vfs_syscalls.c
index ddf7fcedba3..fc6857f360c 100644
--- a/sys/kern/vfs_syscalls.c
+++ b/sys/kern/vfs_syscalls.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfs_syscalls.c,v 1.265 2016/09/10 16:53:30 natano Exp $ */
+/* $OpenBSD: vfs_syscalls.c,v 1.266 2017/01/10 19:48:32 bluhm Exp $ */
/* $NetBSD: vfs_syscalls.c,v 1.71 1996/04/23 10:29:02 mycroft Exp $ */
/*
@@ -365,14 +365,14 @@ sys_unmount(struct proc *p, void *v, register_t *retval)
if (vfs_busy(mp, VB_WRITE|VB_WAIT))
return (EBUSY);
- return (dounmount(mp, SCARG(uap, flags) & MNT_FORCE, p, vp));
+ return (dounmount(mp, SCARG(uap, flags) & MNT_FORCE, p));
}
/*
* Do the actual file system unmount.
*/
int
-dounmount(struct mount *mp, int flags, struct proc *p, struct vnode *olddp)
+dounmount(struct mount *mp, int flags, struct proc *p)
{
struct vnode *coveredvp;
int error;