From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CE336EB64D7 for ; Fri, 16 Jun 2023 16:46:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232710AbjFPQqk (ORCPT ); Fri, 16 Jun 2023 12:46:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34152 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229518AbjFPQqi (ORCPT ); Fri, 16 Jun 2023 12:46:38 -0400 Received: from imap4.hz.codethink.co.uk (imap4.hz.codethink.co.uk [188.40.203.114]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 483EA2D6A; Fri, 16 Jun 2023 09:46:37 -0700 (PDT) Received: from [167.98.27.226] (helo=rainbowdash) by imap4.hz.codethink.co.uk with esmtpsa (Exim 4.94.2 #2 (Debian)) id 1qACaj-00G7Ki-59; Fri, 16 Jun 2023 17:46:29 +0100 Received: from ben by rainbowdash with local (Exim 4.96) (envelope-from ) id 1qACai-000HGD-2S; Fri, 16 Jun 2023 17:46:28 +0100 From: Ben Dooks To: linux-fsdevel@vger.kernel.org, viro@zeniv.linux.org.uk, brauner@kernel.org Cc: linux-kernel@vger.kernel.org, Ben Dooks Subject: [PATCH] d_path: include internal.h Date: Fri, 16 Jun 2023 17:46:27 +0100 Message-Id: <20230616164627.66340-1-ben.dooks@codethink.co.uk> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org Include internal.h to get the definition of simple_dname, to fix the following sparse warning: fs/d_path.c:317:6: warning: symbol 'simple_dname' was not declared. Should it be static? Signed-off-by: Ben Dooks --- 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; -- 2.39.2