ubifs: Remove filename from debug messages in ubifs_readdir
authorHyunchul Lee <cheol.lee@lge.com>
Wed, 15 Mar 2017 01:31:03 +0000 (10:31 +0900)
committerRichard Weinberger <richard@nod.at>
Thu, 30 Mar 2017 07:27:28 +0000 (09:27 +0200)
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>
fs/ubifs/dir.c

index 51929be655c32638ff5047507e186057c16ab4e4..87b04dc3a86e6666ecd923438ccd7496a51cb7e5 100644 (file)
@@ -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);