From patchwork Tue May 16 19:54:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 94903 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp672759vqo; Tue, 16 May 2023 13:07:00 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4ClOGkawTBYQ4Oie/DZ1493rFjAoZwwfy+6dLu7ibWliLw2SGpbb4g2ZGTZuerTda78FbJ X-Received: by 2002:a17:90a:6089:b0:24e:3a0a:9b48 with SMTP id z9-20020a17090a608900b0024e3a0a9b48mr38868785pji.21.1684267620320; Tue, 16 May 2023 13:07:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684267620; cv=none; d=google.com; s=arc-20160816; b=RG2S3z13/hCm1QJYkz8EjLMafQm3WbH2ZiE71dFTrEJQWy/6sLoI1MIeaZ649xWgIA PIMKjWt9BREH54d33NtBTBjRkchGkr6CmLDgr1ggbb2xhmUg9ycB2RHexZUZ0Dbl24Lw IprHEQ2S6sIlGKyqWKnk0NxlFRVBf2VsQuQBT0PZqL/aDLpMkCev7OPfR1yzI6gZS+/5 IxCk9xcMTeo7ipoLebx6nAgPA0Cn5VPOKA1o4l5tsyUdfnUreD182O0rMJU2HpKwrMW6 gEzpzUqTDSWfkFwpH6S545eJLe10vAK3aQ80YPpS5sH+JvgBfkEc/h0hsPNw2j3quiZ5 zImQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=MTleZrPntvCFKDUdsEF4vS1JmzJgV+CERLFSYoeaaZ8=; b=1Bmwc3pyUAX4SW972y+zKdnPBenn89MFi42En72sJAS2m72X9+hfy7EtWnyW6uHZdh miMrTNLUwW3QhsaOObCUpHe+KUyhFsNo4drC68mIgiSkDghqtLjl5d++5jABWFLZhvUn bFyUXDd9w20dsqo+qM4BLPMeg10td54vq5/ZKHPx4Z2qAi9ImcBjVLQqUCnYG4ZDXjiv tTP4vdKFuU8ie2eKBgUKLPpZ/8VKFSSuAIJfhuuhWdIsWK9aym1Q1BOYljuaVWlSf72N HGhT2WugjCeAPxvB6hHI2wYl7eupfnPQM3hqrUUzTQoy9lZRzd0n50qoD2JY3bUk3btb acQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VACMJeXa; 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=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nk17-20020a17090b195100b002507cbb0090si100544pjb.184.2023.05.16.13.06.45; Tue, 16 May 2023 13:07:00 -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=@kernel.org header.s=k20201202 header.b=VACMJeXa; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229484AbjEPTy4 (ORCPT + 99 others); Tue, 16 May 2023 15:54:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48378 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229831AbjEPTyv (ORCPT ); Tue, 16 May 2023 15:54:51 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 44172C1; Tue, 16 May 2023 12:54:50 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id CDFA662CEE; Tue, 16 May 2023 19:54:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E9AD0C433EF; Tue, 16 May 2023 19:54:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684266889; bh=ephEl7G1z6WaYBIJFTE6QgAOh66gp022Xrli5jHzoSg=; h=From:To:Cc:Subject:Date:From; b=VACMJeXaOUxjDd/zTMoPAoKSVlUW5gDq0LgnxtkgFDCThDHYTgDroPc41nWujY6kE LjqEA5Slpkyh3Q53xcmBsbv2aGDduxJf6KfDWi5iKCcYkauyYw0dsNv337jUWfrJsU 5W72LjBi/AT2+qH6FNU57cshXnigtxGyCOD4q0yPxUacqQCyDmi9Krqm1IiVyl3De5 YTUvQVVg9+CI07PNJrdyoiCyQV4YEwQlGxpCfnlnBFG21J3MiVzse0eNeCDshjdqkp FPVrQWF+aI/ldTpp+TyrxscFPebKm8p+Iq9uYQBSIe3QrjKnZa73yET9fqO3H30o38 AOS1KFgp85Jrw== From: Arnd Bergmann To: Alexander Viro , Christian Brauner Cc: Arnd Bergmann , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] fs: d_path: include internal.h Date: Tue, 16 May 2023 21:54:38 +0200 Message-Id: <20230516195444.551461-1-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766082604104791838?= X-GMAIL-MSGID: =?utf-8?q?1766082604104791838?= From: Arnd Bergmann make W=1 warns about a missing prototype that is defined but not visible at point where simple_dname() is defined: fs/d_path.c:317:7: error: no previous prototype for 'simple_dname' [-Werror=missing-prototypes] Signed-off-by: Arnd Bergmann --- fs/d_path.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/d_path.c b/fs/d_path.c index 56a6ee4c6331..5f4da5c8d5db 100644 --- a/fs/d_path.c +++ b/fs/d_path.c @@ -7,6 +7,7 @@ #include #include #include "mount.h" +#include "internal.h" struct prepend_buffer { char *buf;