Source-Changes-HG archive

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

[src/trunk]: src/sys/ufs/lfs Fix lost lock in lfs_markv -- a typo-class bug, ...



details:   https://anonhg.NetBSD.org/src/rev/22417fd88a48
branches:  trunk
changeset: 471908:22417fd88a48
user:      perseant <perseant%NetBSD.org@localhost>
date:      Wed Apr 14 19:37:28 1999 +0000

description:
Fix lost lock in lfs_markv -- a typo-class bug, obvious when you look at it.

diffstat:

 sys/ufs/lfs/lfs_syscalls.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r caa38e8d36c1 -r 22417fd88a48 sys/ufs/lfs/lfs_syscalls.c
--- a/sys/ufs/lfs/lfs_syscalls.c        Wed Apr 14 18:43:24 1999 +0000
+++ b/sys/ufs/lfs/lfs_syscalls.c        Wed Apr 14 19:37:28 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lfs_syscalls.c,v 1.29 1999/04/12 00:40:06 perseant Exp $       */
+/*     $NetBSD: lfs_syscalls.c,v 1.30 1999/04/14 19:37:28 perseant Exp $       */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -249,8 +249,8 @@
                         * of a usable vnode in vp is signaled by a valid v_daddr.
                         */
                        if(v_daddr != LFS_UNUSED_DADDR) {
+#ifdef DEBUG_LFS
                                if(ip->i_flag & (IN_MODIFIED|IN_CLEANING))
-#ifdef DEBUG_LFS
                                        iwritten++;
 #endif
                                if(lfs_fastvget_unlock) {



Home | Main Index | Thread Index | Old Index