Source-Changes-HG archive

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

[src/trunk]: src/sys/ntfs partly backup previous: don't use LK_RETRY when cal...



details:   https://anonhg.NetBSD.org/src/rev/24ffd8f93c99
branches:  trunk
changeset: 477639:24ffd8f93c99
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Mon Oct 25 21:17:21 1999 +0000

description:
partly backup previous: don't use LK_RETRY when calling ntfs_vgetex()

diffstat:

 sys/ntfs/ntfs_subr.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r 600c6b568b7f -r 24ffd8f93c99 sys/ntfs/ntfs_subr.c
--- a/sys/ntfs/ntfs_subr.c      Mon Oct 25 20:27:48 1999 +0000
+++ b/sys/ntfs/ntfs_subr.c      Mon Oct 25 21:17:21 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ntfs_subr.c,v 1.21 1999/10/25 19:08:26 jdolecek Exp $  */
+/*     $NetBSD: ntfs_subr.c,v 1.22 1999/10/25 21:17:21 jdolecek Exp $  */
 
 /*-
  * Copyright (c) 1998, 1999 Semen Ustimenko (semenu%FreeBSD.org@localhost)
@@ -228,7 +228,7 @@
                /* this is not a main record, so we can't use just plain
                   vget() */
                error = ntfs_vgetex(ntmp->ntm_mountp, aalp->al_inumber,
-                               NTFS_A_DATA, NULL, LK_EXCLUSIVE | LK_RETRY,
+                               NTFS_A_DATA, NULL, LK_EXCLUSIVE,
                                VG_EXT, curproc, &newvp);
                if (error) {
                        printf("ntfs_ntvattrget: CAN'T VGET INO: %d\n",
@@ -956,8 +956,7 @@
                        /* vget node, but don't load it */
                        error = ntfs_vgetex(ntmp->ntm_mountp,
                                   iep->ie_number, attrtype, attrname,
-                                  LK_EXCLUSIVE | LK_RETRY,
-                                  VG_DONTLOADIN | VG_DONTVALIDFN,
+                                  LK_EXCLUSIVE, VG_DONTLOADIN | VG_DONTVALIDFN,
                                   curproc, &nvp);
                        if (error)
                                goto fail;



Home | Main Index | Thread Index | Old Index