Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/nfs Teach nfs_lookup to clear PDIRUNLOCK.
details: https://anonhg.NetBSD.org/src/rev/f262a8c8263d
branches: trunk
changeset: 474507:f262a8c8263d
user: wrstuden <wrstuden%NetBSD.org@localhost>
date: Thu Jul 08 22:53:08 1999 +0000
description:
Teach nfs_lookup to clear PDIRUNLOCK.
diffstat:
sys/nfs/nfs_vnops.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r 2af86456608d -r f262a8c8263d sys/nfs/nfs_vnops.c
--- a/sys/nfs/nfs_vnops.c Thu Jul 08 22:18:06 1999 +0000
+++ b/sys/nfs/nfs_vnops.c Thu Jul 08 22:53:08 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: nfs_vnops.c,v 1.101 1999/05/29 01:22:03 fvdl Exp $ */
+/* $NetBSD: nfs_vnops.c,v 1.102 1999/07/08 22:53:08 wrstuden Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -723,7 +723,7 @@
struct componentname *cnp = ap->a_cnp;
struct vnode *dvp = ap->a_dvp;
struct vnode **vpp = ap->a_vpp;
- int flags = cnp->cn_flags;
+ int flags;
struct vnode *newvp;
u_int32_t *tl;
caddr_t cp;
@@ -736,6 +736,8 @@
struct nfsnode *np;
int lockparent, wantparent, error = 0, attrflag, fhsize;
int v3 = NFS_ISV3(dvp);
+ cnp->cn_flags &= ~PDIRUNLOCK;
+ flags = cnp->cn_flags;
*vpp = NULLVP;
if ((flags & ISLASTCN) && (dvp->v_mount->mnt_flag & MNT_RDONLY) &&
Home |
Main Index |
Thread Index |
Old Index