Source-Changes-HG archive

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

[src/trunk]: src/sys/ufs/ffs Fix typo which prevents diagnostic test from wor...



details:   https://anonhg.NetBSD.org/src/rev/c1911518ca80
branches:  trunk
changeset: 520785:c1911518ca80
user:      enami <enami%NetBSD.org@localhost>
date:      Wed Jan 16 08:33:12 2002 +0000

description:
Fix typo which prevents diagnostic test from working.

diffstat:

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

diffs (27 lines):

diff -r 867b6877a1a5 -r c1911518ca80 sys/ufs/ffs/ffs_softdep.c
--- a/sys/ufs/ffs/ffs_softdep.c Wed Jan 16 06:54:17 2002 +0000
+++ b/sys/ufs/ffs/ffs_softdep.c Wed Jan 16 08:33:12 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ffs_softdep.c,v 1.24 2001/12/27 01:29:05 fvdl Exp $    */
+/*     $NetBSD: ffs_softdep.c,v 1.25 2002/01/16 08:33:12 enami Exp $   */
 
 /*
  * Copyright 1998 Marshall Kirk McKusick. All Rights Reserved.
@@ -33,7 +33,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ffs_softdep.c,v 1.24 2001/12/27 01:29:05 fvdl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ffs_softdep.c,v 1.25 2002/01/16 08:33:12 enami Exp $");
 
 #include <sys/param.h>
 #include <sys/buf.h>
@@ -2346,7 +2346,7 @@
                if ((bn = freeblks->fb_iblks[level]) == 0)
                        continue;
                if ((error = indir_trunc(&tip, fsbtodb(fs, bn), level,
-                   baselbns[level], &blocksreleased)) == 0)
+                   baselbns[level], &blocksreleased)) != 0)
                        allerror = error;
                ffs_blkfree(&tip, bn, fs->fs_bsize);
                fs->fs_pendingblocks -= nblocks;



Home | Main Index | Thread Index | Old Index