From 7af48f4bc90b20cbb1b3f389908fa474e8258e82 Mon Sep 17 00:00:00 2001 From: Jolan Luff Date: Thu, 27 Aug 2009 23:14:48 +0000 Subject: make UDF less chatty during normal operation ok krw/phessler --- sys/isofs/udf/udf_vfsops.c | 4 +++- sys/isofs/udf/udf_vnops.c | 3 +-- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'sys/isofs') diff --git a/sys/isofs/udf/udf_vfsops.c b/sys/isofs/udf/udf_vfsops.c index 4a1ac754931..e422db60dd2 100644 --- a/sys/isofs/udf/udf_vfsops.c +++ b/sys/isofs/udf/udf_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: udf_vfsops.c,v 1.30 2009/08/14 22:23:45 krw Exp $ */ +/* $OpenBSD: udf_vfsops.c,v 1.31 2009/08/27 23:14:47 jolan Exp $ */ /* * Copyright (c) 2001, 2002 Scott Long @@ -128,7 +128,9 @@ udf_mount(struct mount *mp, const char *path, void *data, if ((mp->mnt_flag & MNT_RDONLY) == 0) { mp->mnt_flag |= MNT_RDONLY; +#ifdef UDF_DEBUG printf("udf_mount: enforcing read-only mode\n"); +#endif } /* diff --git a/sys/isofs/udf/udf_vnops.c b/sys/isofs/udf/udf_vnops.c index d29e0bcae83..be03375a6cd 100644 --- a/sys/isofs/udf/udf_vnops.c +++ b/sys/isofs/udf/udf_vnops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: udf_vnops.c,v 1.38 2009/08/14 22:23:45 krw Exp $ */ +/* $OpenBSD: udf_vnops.c,v 1.39 2009/08/27 23:14:47 jolan Exp $ */ /* * Copyright (c) 2001, 2002 Scott Long @@ -1073,7 +1073,6 @@ lookloop: if (fid->file_char & UDF_FILE_CHAR_DEL) continue; -printf("name: '%s', file_char: %u\n", nameptr, fid->file_char); if ((fid->l_fi == 0) && (fid->file_char & UDF_FILE_CHAR_PAR)) { if (flags & ISDOTDOT) { id = udf_getid(&fid->icb); -- cgit v1.2.3