Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1600983

[PATCH 1/3] ubifs: remove filename from debug messages in ubifs_readdir

From Hyunchul Lee <cheol.lee@lge.com>
Newsgroups linux.kernel
Subject [PATCH 1/3] ubifs: remove filename from debug messages in ubifs_readdir
Date 2017-03-15 02:40 +0100
Message-ID <tl64V-je-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


if filename is encrypted, filename could have no printable characters.
so remove it.

Signed-off-by: Hyunchul Lee <cheol.lee@lge.com>
---
 fs/ubifs/dir.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/ubifs/dir.c b/fs/ubifs/dir.c
index 528369f..b2c8beb 100644
--- a/fs/ubifs/dir.c
+++ b/fs/ubifs/dir.c
@@ -606,8 +606,8 @@ static int ubifs_readdir(struct file *file, struct dir_context *ctx)
 	}
 
 	while (1) {
-		dbg_gen("feed '%s', ino %llu, new f_pos %#x",
-			dent->name, (unsigned long long)le64_to_cpu(dent->inum),
+		dbg_gen("ino %llu, new f_pos %#x",
+			(unsigned long long)le64_to_cpu(dent->inum),
 			key_hash_flash(c, &dent->key));
 		ubifs_assert(le64_to_cpu(dent->ch.sqnum) >
 			     ubifs_inode(dir)->creat_sqnum);
-- 
1.9.1

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 1/3] ubifs: remove filename from debug messages in ubifs_readdir Hyunchul Lee <cheol.lee@lge.com> - 2017-03-15 02:40 +0100
  [PATCH 2/3] ubifs: fix debug messages for an invalid filename in ubifs_dump_node Hyunchul Lee <cheol.lee@lge.com> - 2017-03-15 02:40 +0100
  [PATCH 3/3] ubifs: fix debug messages for an invalid filename in ubifs_dump_inode Hyunchul Lee <cheol.lee@lge.com> - 2017-03-15 02:40 +0100
  Re: [PATCH 1/3] ubifs: remove filename from debug messages in  ubifs_readdir Richard Weinberger <richard@nod.at> - 2017-03-19 21:50 +0100

csiph-web