summaryrefslogtreecommitdiffstats
path: root/fs/ubifs
diff options
context:
space:
mode:
authorHyunchul Lee <cheol.lee@lge.com>2017-03-15 10:31:03 +0900
committerRichard Weinberger <richard@nod.at>2017-03-30 09:27:28 +0200
commitb20e2d9999506bb445e9958efa407e84d1a579cc (patch)
tree74724ad15b220b0c5b92390fa50c8c54f54e945e /fs/ubifs
parent63ed657362509b54635fe17af980fba722a008d8 (diff)
downloadlinux-b20e2d9999506bb445e9958efa407e84d1a579cc.tar.gz
linux-b20e2d9999506bb445e9958efa407e84d1a579cc.tar.bz2
linux-b20e2d9999506bb445e9958efa407e84d1a579cc.zip
ubifs: Remove filename from debug messages in ubifs_readdir
if filename is encrypted, filename could have no printable characters. so remove it. Signed-off-by: Hyunchul Lee <cheol.lee@lge.com> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'fs/ubifs')
-rw-r--r--fs/ubifs/dir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ubifs/dir.c b/fs/ubifs/dir.c
index 51929be655c3..87b04dc3a86e 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);