From: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
To: Linus Torvalds <torvalds@osdl.org>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] fat_access cleanup (5/11)
Date: Tue, 22 Jul 2003 00:53:52 +0900 [thread overview]
Message-ID: <877k6bx4dr.fsf@devron.myhome.or.jp> (raw)
This removes the dump_fat() and dump_de() of obsoleted debug code in
vfat/namei.c.
fs/vfat/namei.c | 31 -------------------------------
1 files changed, 31 deletions(-)
diff -puN fs/vfat/namei.c~fat_access-cleanup2 fs/vfat/namei.c
--- linux-2.6.0-test1/fs/vfat/namei.c~fat_access-cleanup2 2003-07-21 02:48:18.000000000 +0900
+++ linux-2.6.0-test1-hirofumi/fs/vfat/namei.c 2003-07-21 02:48:18.000000000 +0900
@@ -204,37 +204,6 @@ static int vfat_cmp(struct dentry *dentr
return 1;
}
-#ifdef DEBUG
-
-static void dump_fat(struct super_block *sb,int start)
-{
- printk("[");
- while (start) {
- printk("%d ",start);
- start = fat_access(sb,start,-1);
- if (!start) {
- printk("ERROR");
- break;
- }
- if (start == -1) break;
- }
- printk("]\n");
-}
-
-static void dump_de(struct msdos_dir_entry *de)
-{
- int i;
- unsigned char *p = (unsigned char *) de;
- printk("[");
-
- for (i = 0; i < 32; i++, p++) {
- printk("%02x ", *p);
- }
- printk("]\n");
-}
-
-#endif
-
/* MS-DOS "device special files" */
static const char *reserved3_names[] = {
_
--
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
reply other threads:[~2003-07-21 15:51 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=877k6bx4dr.fsf@devron.myhome.or.jp \
--to=hirofumi@mail.parknet.co.jp \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.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®