From patchwork Thu Aug 22 15:40:21 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Biggers X-Patchwork-Id: 11109605 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 86D00112C for ; Thu, 22 Aug 2019 15:40:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5C6BA23400 for ; Thu, 22 Aug 2019 15:40:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1566488430; bh=GaweZh37iKpQjkz5Lc6b7kfYEFD2n828E0+WldEl8XE=; h=From:To:Subject:Date:List-ID:From; b=S+/NfjDWQGwMFA8IpGabVY3gFbVxz6tEn1Jq5pT5cSOS5VNPGC6So6uebgAvtJXZF Dln1TGuQS7GO9lV8uPTODgMexEEf4Hjw5qRdT+TEamv5lD+hwn4rttxlh2VUpPsHL4 v7cEdLqfoeXJH5d3scziK3NbK8Ej2oXzVTC2ZFiM= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732384AbfHVPk3 (ORCPT ); Thu, 22 Aug 2019 11:40:29 -0400 Received: from mail.kernel.org ([198.145.29.99]:54856 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731416AbfHVPk3 (ORCPT ); Thu, 22 Aug 2019 11:40:29 -0400 Received: from zzz.localdomain (ip-173-136-158-138.anahca.spcsdns.net [173.136.158.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8357D206B7; Thu, 22 Aug 2019 15:40:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1566488428; bh=GaweZh37iKpQjkz5Lc6b7kfYEFD2n828E0+WldEl8XE=; h=From:To:Subject:Date:From; b=oypR/1W+/E4PGFBE1GsnWrKmTmQSiSQFQtrwAGQjIHwyXgXwLHhXmyqkP9HET1KJJ 7CTYLqTM8bRNzS2wiWUtLx3UKfQLmvKLllpTUxEY1jvuarW109qUw3A8323pQlRuvj +J3aKVyMcbych3MjlwC1r+1E7s699PvC+HbpYm/E= From: Eric Biggers To: Alexander Viro , linux-fsdevel@vger.kernel.org Subject: [PATCH RESEND] fs/nsfs.c: include headers for missing declarations Date: Thu, 22 Aug 2019 08:40:21 -0700 Message-Id: <20190822154021.14452-1-ebiggers@kernel.org> X-Mailer: git-send-email 2.22.1 MIME-Version: 1.0 Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org From: Eric Biggers Include linux/proc_fs.h and fs/internal.h to address the following 'sparse' warnings: fs/nsfs.c:40:32: warning: symbol 'ns_dentry_operations' was not declared. Should it be static? fs/nsfs.c:144:5: warning: symbol 'open_related_ns' was not declared. Should it be static? Signed-off-by: Eric Biggers --- fs/nsfs.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fs/nsfs.c b/fs/nsfs.c index a0431642c6b5..f75767bd623a 100644 --- a/fs/nsfs.c +++ b/fs/nsfs.c @@ -3,6 +3,7 @@ #include #include #include +#include #include #include #include @@ -11,6 +12,8 @@ #include #include +#include "internal.h" + static struct vfsmount *nsfs_mnt; static long ns_ioctl(struct file *filp, unsigned int ioctl,