From patchwork Fri Oct 11 16:57:05 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Dooks X-Patchwork-Id: 11185955 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 1503813BD for ; Fri, 11 Oct 2019 16:57:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id F384821835 for ; Fri, 11 Oct 2019 16:57:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728567AbfJKQ5P (ORCPT ); Fri, 11 Oct 2019 12:57:15 -0400 Received: from imap1.codethink.co.uk ([176.9.8.82]:40571 "EHLO imap1.codethink.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728545AbfJKQ5P (ORCPT ); Fri, 11 Oct 2019 12:57:15 -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 1iIyDz-0002Hw-TJ; Fri, 11 Oct 2019 17:57:07 +0100 Received: from ben by rainbowdash.codethink.co.uk with local (Exim 4.92.2) (envelope-from ) id 1iIyDz-00044V-GU; Fri, 11 Oct 2019 17:57:07 +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 1/2] nsfs: include internal.h for ns_dentry_operations Date: Fri, 11 Oct 2019 17:57:05 +0100 Message-Id: <20191011165706.15608-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" for the ns_dentry_operations definiton. Fixes the following spare warning: fs/nsfs.c:41:32: warning: symbol 'ns_dentry_operations' 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/nsfs.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/nsfs.c b/fs/nsfs.c index a0431642c6b5..ea384d0f225a 100644 --- a/fs/nsfs.c +++ b/fs/nsfs.c @@ -11,6 +11,8 @@ #include #include +#include "internal.h" + static struct vfsmount *nsfs_mnt; static long ns_ioctl(struct file *filp, unsigned int ioctl, From patchwork Fri Oct 11 16:57:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Dooks X-Patchwork-Id: 11185957 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 9FA69912 for ; Fri, 11 Oct 2019 16:57:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8A82121D7C for ; Fri, 11 Oct 2019 16:57:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728537AbfJKQ5N (ORCPT ); Fri, 11 Oct 2019 12:57:13 -0400 Received: from imap1.codethink.co.uk ([176.9.8.82]:40569 "EHLO imap1.codethink.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727149AbfJKQ5N (ORCPT ); Fri, 11 Oct 2019 12:57:13 -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 1iIyDz-0002Hx-WA; Fri, 11 Oct 2019 17:57:08 +0100 Received: from ben by rainbowdash.codethink.co.uk with local (Exim 4.92.2) (envelope-from ) id 1iIyDz-00044Y-Mc; Fri, 11 Oct 2019 17:57:07 +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 2/2] nsfs: include for open_related_ns Date: Fri, 11 Oct 2019 17:57:06 +0100 Message-Id: <20191011165706.15608-2-ben.dooks@codethink.co.uk> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191011165706.15608-1-ben.dooks@codethink.co.uk> References: <20191011165706.15608-1-ben.dooks@codethink.co.uk> MIME-Version: 1.0 Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org Include for the definition of open_related_ns. Fixes the following sparse warning: fs/nsfs.c:145:5: warning: symbol 'open_related_ns' 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/nsfs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/nsfs.c b/fs/nsfs.c index ea384d0f225a..3e1c6ce9deae 100644 --- a/fs/nsfs.c +++ b/fs/nsfs.c @@ -4,6 +4,7 @@ #include #include #include +#include #include #include #include