From patchwork Wed Mar 15 01:31:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hyeoncheol Lee X-Patchwork-Id: 9624673 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 15590604CC for ; Wed, 15 Mar 2017 01:32:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0641926E78 for ; Wed, 15 Mar 2017 01:32:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EC1D5285A1; Wed, 15 Mar 2017 01:32:17 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1703526E78 for ; Wed, 15 Mar 2017 01:32:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750985AbdCOBbq (ORCPT ); Tue, 14 Mar 2017 21:31:46 -0400 Received: from LGEAMRELO12.lge.com ([156.147.23.52]:56340 "EHLO lgeamrelo12.lge.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750852AbdCOBbp (ORCPT ); Tue, 14 Mar 2017 21:31:45 -0400 Received: from unknown (HELO lgeamrelo04.lge.com) (156.147.1.127) by 156.147.23.52 with ESMTP; 15 Mar 2017 10:31:42 +0900 X-Original-SENDERIP: 156.147.1.127 X-Original-MAILFROM: cheol.lee@lge.com Received: from unknown (HELO LGEAEXHB01P.LGE.NET) (165.244.249.25) by 156.147.1.127 with ESMTP; 15 Mar 2017 10:31:41 +0900 X-Original-SENDERIP: 165.244.249.25 X-Original-MAILFROM: cheol.lee@lge.com Received: from lgekrmhub05.lge.com (10.185.110.15) by LGEAEXHB01P.LGE.NET (165.244.249.21) with Microsoft SMTP Server id 8.3.264.0; Wed, 15 Mar 2017 10:31:14 +0900 Received: from lgemrelse6q.lge.com ([156.147.1.121]) by lgekrmhub05.lge.com (Lotus Domino Release 8.5.3FP6) with ESMTP id 2017031510311371-133686 ; Wed, 15 Mar 2017 10:31:13 +0900 Received: from unknown (HELO localhost.localdomain) (10.177.225.40) by 156.147.1.121 with ESMTP; 15 Mar 2017 10:31:12 +0900 X-Original-SENDERIP: 10.177.225.40 X-Original-MAILFROM: cheol.lee@lge.com From: Hyunchul Lee To: Richard Weinberger CC: , Artem Bityutskiy , , , , , Hyunchul Lee , Hyunchul Lee Subject: [PATCH 1/3] ubifs: remove filename from debug messages in ubifs_readdir Date: Wed, 15 Mar 2017 10:31:03 +0900 Message-ID: <1489541465-25663-1-git-send-email-cheol.lee@lge.com> X-Mailer: git-send-email 1.9.1 X-MIMETrack: Itemize by SMTP Server on LGEKRMHUB05/LGE/LG Group(Release 8.5.3FP6|November 21, 2013) at 2017/03/15 10:31:13, Serialize by Router on LGEKRMHUB05/LGE/LG Group(Release 8.5.3FP6|November 21, 2013) at 2017/03/15 10:31:13, Serialize complete at 2017/03/15 10:31:13 MIME-Version: 1.0 Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP if filename is encrypted, filename could have no printable characters. so remove it. Signed-off-by: Hyunchul Lee --- 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);