From: maximilian attems <max@stro.at>
To: aia21@cantab.net
Cc: linux-fsdevel@vger.kernel.org, linux-ntfs-dev@lists.sourceforge.ne
Subject: [rfc/patch] ntfs reduce syslog noise
Date: Sat, 28 Jul 2007 23:10:21 +0200 [thread overview]
Message-ID: <20070728211021.GD4504@stro.at> (raw)
user complained on syslog spamming by
NTFS-fs error (device hda7): ntfs_ucstonls(): Unicode name contains characters that cannot be converted to character set koi8-r. You might want to try to use the mount option nls=utf8.
NTFS-fs warning (device hda7): ntfs_filldir(): Skipping unrepresentable inode 0x130cc.
-> http://bugs.debian.org/351009
the custom ntfs loglevel are a pain as they encode the
KERN_ERR printk level for any ntfs_warning() call
belows patch tries to tame one of the 2 complaints.
diff --git a/fs/ntfs/dir.c b/fs/ntfs/dir.c
index 34314b3..10cc8d9 100644
--- a/fs/ntfs/dir.c
+++ b/fs/ntfs/dir.c
@@ -1050,7 +1050,7 @@ static inline int ntfs_filldir(ntfs_volume *vol, loff_t fpos,
ie->key.file_name.file_name_length, &name,
NTFS_MAX_NAME_LEN * NLS_MAX_CHARSET_SIZE + 1);
if (name_len <= 0) {
- ntfs_warning(vol->sb, "Skipping unrepresentable inode 0x%llx.",
+ ntfs_debug(vol->sb, "Skipping unrepresentable inode 0x%llx.",
(long long)MREF_LE(ie->data.dir.indexed_file));
return 0;
}
next reply other threads:[~2007-07-28 21:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-28 21:10 maximilian attems [this message]
2007-07-28 22:26 ` [rfc/patch] ntfs reduce syslog noise Anton Altaparmakov
2007-07-28 23:01 ` maximilian attems
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=20070728211021.GD4504@stro.at \
--to=max@stro.at \
--cc=aia21@cantab.net \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-ntfs-dev@lists.sourceforge.ne \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.