Module Name: src Committed By: riastradh Date: Thu May 10 07:57:02 UTC 2012
Modified Files: src/sys/ufs/ufs: ufs_rename.c Log Message: 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. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/ufs/ufs/ufs_rename.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/ufs/ufs/ufs_rename.c diff -u src/sys/ufs/ufs/ufs_rename.c:1.1 src/sys/ufs/ufs/ufs_rename.c:1.2 --- src/sys/ufs/ufs/ufs_rename.c:1.1 Wed May 9 00:21:18 2012 +++ src/sys/ufs/ufs/ufs_rename.c Thu May 10 07:57:02 2012 @@ -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 @@ ufs_rename_recalculate_fulr(struct vnode * 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",