Source-Changes-HG archive

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

[src/trunk]: src/gnu/sys/ufs/ffs Fix oversight in prevous commit to keep #if ...



details:   https://anonhg.NetBSD.org/src/rev/79f1ea3478d5
branches:  trunk
changeset: 484025:79f1ea3478d5
user:      enami <enami%NetBSD.org@localhost>
date:      Thu Mar 23 08:33:59 2000 +0000

description:
Fix oversight in prevous commit to keep #if 0' outed code make sense.

diffstat:

 gnu/sys/ufs/ffs/ffs_softdep.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (31 lines):

diff -r aec9173ec11f -r 79f1ea3478d5 gnu/sys/ufs/ffs/ffs_softdep.c
--- a/gnu/sys/ufs/ffs/ffs_softdep.c     Thu Mar 23 08:20:06 2000 +0000
+++ b/gnu/sys/ufs/ffs/ffs_softdep.c     Thu Mar 23 08:33:59 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ffs_softdep.c,v 1.8 2000/03/23 08:18:11 enami Exp $    */
+/*     $NetBSD: ffs_softdep.c,v 1.9 2000/03/23 08:33:59 enami Exp $    */
 
 /*
  * Copyright 1998 Marshall Kirk McKusick. All Rights Reserved.
@@ -4420,10 +4420,9 @@
        if (--proc_waiting)
                callout_reset(&pause_timer_ch,
                    tickdelay > 2 ? tickdelay : 2, pause_timer, NULL);
-       else
+       else {
                callout_stop(&pause_timer_ch);
 #if 0
-       else {
                switch (resource) {
 
                case FLUSH_INODES:
@@ -4434,8 +4433,8 @@
                        stat_blk_limit_hit += 1;
                        break;
                }
+#endif
        }
-#endif
        if (islocked == 0)
                FREE_LOCK(&lk);
        return (1);



Home | Main Index | Thread Index | Old Index