summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>1998-12-28 19:56:23 +0000
committerArtur Grabowski <art@cvs.openbsd.org>1998-12-28 19:56:23 +0000
commitce5aeb3093fedeed0baf41bee09332daa641157b (patch)
treec3d3b9d2af8bccfa27b440f301cefa72f469ca52 /sys/kern
parent29478aeef1f5574c7342c791f8a0fc10663ee290 (diff)
remove old leftovers from lite2 upgrade
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/vfs_syscalls.c14
1 files changed, 2 insertions, 12 deletions
diff --git a/sys/kern/vfs_syscalls.c b/sys/kern/vfs_syscalls.c
index c5fcc34e82b..f88d18eb6e2 100644
--- a/sys/kern/vfs_syscalls.c
+++ b/sys/kern/vfs_syscalls.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfs_syscalls.c,v 1.50 1998/12/23 10:53:06 art Exp $ */
+/* $OpenBSD: vfs_syscalls.c,v 1.51 1998/12/28 19:56:22 art Exp $ */
/* $NetBSD: vfs_syscalls.c,v 1.71 1996/04/23 10:29:02 mycroft Exp $ */
/*
@@ -729,17 +729,7 @@ sys_fchdir(p, v, retval)
error = ENOTDIR;
else
error = VOP_ACCESS(vp, VEXEC, p->p_ucred, p);
- while (!error && (mp = vp->v_mountedhere) != NULL) {
- if (mp->mnt_flag & MNT_MLOCK) {
- mp->mnt_flag |= MNT_MWAIT;
- sleep((caddr_t)mp, PVFS);
- continue;
- }
- if ((error = VFS_ROOT(mp, &tdp)) != 0)
- break;
- vput(vp);
- vp = tdp;
- }
+
while (!error && (mp = vp->v_mountedhere) != NULL) {
if (vfs_busy(mp, 0, 0, p))
continue;