Source-Changes-HG archive

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

[src/trunk]: src/sys/ufs/ufs Disable scary but probably harmless printf.



details:   https://anonhg.NetBSD.org/src/rev/5a8311aa0537
branches:  trunk
changeset: 779202:5a8311aa0537
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Thu May 10 07:57:02 2012 +0000

description:
Disable scary but probably harmless printf.

Still need to find why this harmless-but-shouldn't-happen case is
happening, but in the mean time, we can stop scaring people with it.

diffstat:

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

diffs (27 lines):

diff -r 84ce5ace3624 -r 5a8311aa0537 sys/ufs/ufs/ufs_rename.c
--- a/sys/ufs/ufs/ufs_rename.c  Thu May 10 07:51:34 2012 +0000
+++ b/sys/ufs/ufs/ufs_rename.c  Thu May 10 07:57:02 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ufs_rename.c,v 1.1 2012/05/09 00:21:18 riastradh Exp $ */
+/*     $NetBSD: ufs_rename.c,v 1.2 2012/05/10 07:57:02 riastradh Exp $ */
 
 /*-
  * Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ufs_rename.c,v 1.1 2012/05/09 00:21:18 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ufs_rename.c,v 1.2 2012/05/10 07:57:02 riastradh Exp $");
 
 #include <sys/param.h>
 #include <sys/buf.h>
@@ -691,7 +691,7 @@
                 * If we are at an I/O block boundary, fetch the next block.
                 */
                if ((offset & io_block_mask) == 0) {
-#ifdef DIAGNOSTIC              /* XXX */
+#if 0                          /* XXX */
                        printf("%s: directory block of inode 0x%llx"
                            " extends across I/O block boundary,"
                            " which shouldn't happen!\n",



Home | Main Index | Thread Index | Old Index