Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/ntfs *sigh* - don't try to be more clever than other fil...



details:   https://anonhg.NetBSD.org/src/rev/149edb19ca63
branches:  trunk
changeset: 477695:149edb19ca63
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Wed Oct 27 20:56:41 1999 +0000

description:
*sigh* - don't try to be more clever than other filesystems and
don't use LK_RETRY in ntfs_lookup() when re-locking the directory
vnode

diffstat:

 sys/ntfs/ntfs_vnops.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 811f585d8021 -r 149edb19ca63 sys/ntfs/ntfs_vnops.c
--- a/sys/ntfs/ntfs_vnops.c     Wed Oct 27 20:28:11 1999 +0000
+++ b/sys/ntfs/ntfs_vnops.c     Wed Oct 27 20:56:41 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ntfs_vnops.c,v 1.21 1999/10/25 21:18:37 jdolecek Exp $ */
+/*     $NetBSD: ntfs_vnops.c,v 1.22 1999/10/27 20:56:41 jdolecek Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -803,7 +803,7 @@
                }
 
                if (lockparent && (cnp->cn_flags & ISLASTCN)) {
-                       error = VN_LOCK(dvp,LK_EXCLUSIVE|LK_RETRY,cnp->cn_proc);
+                       error = VN_LOCK(dvp, LK_EXCLUSIVE, cnp->cn_proc);
                        if (error) {
                                vput( *(ap->a_vpp) );
                                return (error);



Home | Main Index | Thread Index | Old Index