Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp714240imi; Fri, 22 Jul 2022 07:55:25 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vubUNG2dQFH8xfL+dWivDv6Kc+wTCq3ElriWJwWWkkxWtSALsvHh97LQw2JC/MfqhmJbmF X-Received: by 2002:a17:907:9483:b0:72f:6e4f:f54c with SMTP id dm3-20020a170907948300b0072f6e4ff54cmr218500ejc.471.1658501724905; Fri, 22 Jul 2022 07:55:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658501724; cv=none; d=google.com; s=arc-20160816; b=zXXwkZxL2tWioyV1SUxz9GFk5M1aQ5ZxEeaZ4/ZKsWVX46FwCQ4i3Y5mpnkoaC9aYH oUOUMhlawQ/SH0FFVAOr3qOeO6EfOQeZI1Vwy5Yil3HykXnVUqag2i/iwsi/W9YyVTOA 1pgE2Ux0DgXctCNKlPEocI4yGmto6JNuo9qqnNX7qFrpm834BhmQ/GPHt3Qwt9uL+Lzl YtwlTWeBQzXSv/01w1JbJIdnRidH16EcaGFRzTytAw/YrVUGXJEEAIhOlN16ap22+4EF N9HgkgzKSbm6NhXhuMwLtuXJ/xLFFtRsnJCtqeVSJsMcOjUqM+wzOA4axept6lug2UyY HEiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=mDz/z5x/8axDpMU/GZGGFz+fsQZdDoUpZOWw7JjfVtA=; b=dZdIqNFCuoIzfhwW/4DF40LPDKSBpD7ecvmZN77IuVP1r7m7SFB+jluiGKeVmz2rXI SBW+HJ22sO1yAhMBEd3Ga9qbETWbI4ozKgjO8glQfy3GVF9CEJK9Xh6nJsMvpkON/86W wTGTRZ3QF/5alm0qO+LXzIH+dxvcVn+3jWVHZRLU3Q7cWT1VMlRdHhR0z0ZeyLb4VF+s zB8PKN0MnIrJ6Q+vdteqYxMgs88Gyk3Sq1/XMx1+rxwcOHYr1Xw/1YIouP1I8PqWAbNq OJt7f5seuBKogvVhcAAkY65n4PhqXrs07uaiTzN3mR/T7H76fcUngZuqdLOXPluJAKdY G1kQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b="qZ6p/Z+1"; dkim=neutral (no key) header.i=@suse.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hr42-20020a1709073faa00b0072a950b5535si6526585ejc.556.2022.07.22.07.55.00; Fri, 22 Jul 2022 07:55:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b="qZ6p/Z+1"; dkim=neutral (no key) header.i=@suse.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235096AbiGVO30 (ORCPT + 99 others); Fri, 22 Jul 2022 10:29:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56928 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229555AbiGVO3Y (ORCPT ); Fri, 22 Jul 2022 10:29:24 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DE1F79D50F; Fri, 22 Jul 2022 07:29:22 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 9AD7C380E7; Fri, 22 Jul 2022 14:29:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1658500161; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=mDz/z5x/8axDpMU/GZGGFz+fsQZdDoUpZOWw7JjfVtA=; b=qZ6p/Z+1GMGyxnLmZdjLyrJatnVl9lfXBov4e2cHN+fh3W1paC5pkpJ2iBYAZQqTP4ZPtw wAE4+Y2tlm3pFK7tnpJOOWV597RcMfxJUSprtWrRBrGqG5XeDC8mvXfDgASQTpEFTVkYtk klYXDK+14LcO7yhLC9ezK9aZqsU4rG8= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1658500161; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=mDz/z5x/8axDpMU/GZGGFz+fsQZdDoUpZOWw7JjfVtA=; b=XYDBG8ABue0jZcz7mwSHJSJWGKYccGQt3fRAomCBQqujW0zixIleFqsYNq32892gEeLMMG VzjXLGeYtpfRe4Cg== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 770C6134A9; Fri, 22 Jul 2022 14:29:21 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id oGJZHEG02mJ7bwAAMHmgww (envelope-from ); Fri, 22 Jul 2022 14:29:21 +0000 From: Takashi Iwai To: linux-fsdevel@vger.kernel.org Cc: Namjae Jeon , Sungjong Seo , linux-kernel@vger.kernel.org Subject: [PATCH 4/4] exfat: Downgrade ENAMETOOLONG error message to debug messages Date: Fri, 22 Jul 2022 16:29:16 +0200 Message-Id: <20220722142916.29435-5-tiwai@suse.de> X-Mailer: git-send-email 2.35.3 In-Reply-To: <20220722142916.29435-1-tiwai@suse.de> References: <20220722142916.29435-1-tiwai@suse.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The ENAMETOOLONG error message is printed at each time when user tries to operate with a too long name, and this can flood the kernel logs easily, as every user can trigger this. Let's downgrade this error message level to a debug message for suppressing the superfluous logs. BugLink: https://bugzilla.suse.com/show_bug.cgi?id=1201725 Signed-off-by: Takashi Iwai --- fs/exfat/nls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/exfat/nls.c b/fs/exfat/nls.c index ef115e673406..617aa1272265 100644 --- a/fs/exfat/nls.c +++ b/fs/exfat/nls.c @@ -509,7 +509,7 @@ static int exfat_utf8_to_utf16(struct super_block *sb, } if (unilen > MAX_NAME_LENGTH) { - exfat_err(sb, "failed to %s (estr:ENAMETOOLONG) nls len : %d, unilen : %d > %d", + exfat_debug(sb, "failed to %s (estr:ENAMETOOLONG) nls len : %d, unilen : %d > %d", __func__, len, unilen, MAX_NAME_LENGTH); return -ENAMETOOLONG; } -- 2.35.3