From patchwork Wed Oct 9 15:18:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Dooks X-Patchwork-Id: 11181371 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C8FB215AB for ; Wed, 9 Oct 2019 15:18:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AEC4921924 for ; Wed, 9 Oct 2019 15:18:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731133AbfJIPSX (ORCPT ); Wed, 9 Oct 2019 11:18:23 -0400 Received: from imap1.codethink.co.uk ([176.9.8.82]:34086 "EHLO imap1.codethink.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728804AbfJIPSX (ORCPT ); Wed, 9 Oct 2019 11:18:23 -0400 Received: from [167.98.27.226] (helo=rainbowdash.codethink.co.uk) by imap1.codethink.co.uk with esmtpsa (Exim 4.84_2 #1 (Debian)) id 1iIDjD-0002C7-UO; Wed, 09 Oct 2019 16:18:16 +0100 Received: from ben by rainbowdash.codethink.co.uk with local (Exim 4.92.2) (envelope-from ) id 1iIDjD-0002Us-7q; Wed, 09 Oct 2019 16:18:15 +0100 From: Ben Dooks To: linux-kernel@lists.codethink.co.uk Cc: Ben Dooks , Alexander Viro , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] d_path: include internal.h for simple_dname Date: Wed, 9 Oct 2019 16:18:14 +0100 Message-Id: <20191009151814.9555-1-ben.dooks@codethink.co.uk> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org Include internal.h in d_path.c for the definition of simple_dname to fix the following sparse warning: fs/d_path.c:311:6: warning: symbol 'simple_dname' was not declared. Should it be static? Signed-off-by: Ben Dooks --- Cc: Alexander Viro Cc: linux-fsdevel@vger.kernel.org Cc: linux-kernel@vger.kernel.org --- fs/d_path.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/d_path.c b/fs/d_path.c index 0f1fc1743302..745dc1f77787 100644 --- a/fs/d_path.c +++ b/fs/d_path.c @@ -7,6 +7,7 @@ #include #include #include "mount.h" +#include "internal.h" static int prepend(char **buffer, int *buflen, const char *str, int namelen) {