From: Bradley Chapman <kakadu_croc@yahoo.com>
To: Ben Fennema <bfennema@falcon.csc.calpoly.edu>,
Dave Boynton <dave@trylinux.com>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] Allow UDF debugging messages to be disabled in the build system
Date: Thu, 9 Oct 2003 10:43:24 -0700 (PDT) [thread overview]
Message-ID: <20031009174324.2806.qmail@web40908.mail.yahoo.com> (raw)
Mr. Fennema, Mr. Boynton,
This patch to the UDF filesystem driver allows you to enable and disable
the UDF debugging messages through the build system instead of editing
linux/udf_fs.h.
Patch was created against 2.6.0-test7-osdl1 but it applies cleanly to
2.6.0-test6-mm4. Compile-tested and used on 2.6.0-test7-osdl1.
Please apply.
Thanks,
Brad Chapman
-----
diff -urN -X /home/bhchapm/source/dontdiff include/linux/udf_fs.h.orig
include/linux/udf_fs.h
--- include/linux/udf_fs.h.orig 2003-10-09 18:14:19.935562952 -0400
+++ include/linux/udf_fs.h 2003-10-09 18:16:25.896413992 -0400
@@ -34,15 +34,15 @@
#ifndef _UDF_FS_H
#define _UDF_FS_H 1
+#include <linux/config.h>
+
#define UDF_PREALLOCATE
#define UDF_DEFAULT_PREALLOC_BLOCKS 8
#define UDFFS_DATE "2002/11/15"
#define UDFFS_VERSION "0.9.7"
-#define UDFFS_DEBUG
-
-#ifdef UDFFS_DEBUG
+#ifdef CONFIG_UDF_FS_DEBUG
#define udf_debug(f, a...) \
{ \
printk (KERN_DEBUG "UDF-fs DEBUG %s:%d:%s: ", \
diff -urN -X /home/bhchapm/source/dontdiff fs/Kconfig.orig fs/Kconfig
--- fs/Kconfig.orig 2003-10-09 18:16:48.056045216 -0400
+++ fs/Kconfig 2003-10-09 18:34:53.930967136 -0400
@@ -523,6 +523,17 @@
module will be called udf.
If unsure, say N.
+
+config UDF_FS_DEBUG
+ bool "UDF file system debugging"
+ depends on UDF_FS
+ default y
+ help
+ Say Y here if you want the UDF filesystem driver to output debugging
+ messages every time a UDF volume is mounted, accessed or otherwise
+ used.
+
+ If unsure, say N.
endmenu
=====
Brad Chapman
Permanent e-mail: kakadu_croc@yahoo.com
__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
reply other threads:[~2003-10-09 17:43 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20031009174324.2806.qmail@web40908.mail.yahoo.com \
--to=kakadu_croc@yahoo.com \
--cc=bfennema@falcon.csc.calpoly.edu \
--cc=dave@trylinux.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®