From patchwork Tue Apr 24 15:41:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kernel test robot X-Patchwork-Id: 10360323 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 92B6160225 for ; Tue, 24 Apr 2018 15:43:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8167528DCD for ; Tue, 24 Apr 2018 15:43:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7FFD428EA0; Tue, 24 Apr 2018 15:43:19 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C423C28DCD for ; Tue, 24 Apr 2018 15:42:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751231AbeDXPm1 (ORCPT ); Tue, 24 Apr 2018 11:42:27 -0400 Received: from mga07.intel.com ([134.134.136.100]:42737 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751003AbeDXPmW (ORCPT ); Tue, 24 Apr 2018 11:42:22 -0400 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Apr 2018 08:42:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,323,1520924400"; d="scan'208";a="40111098" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by fmsmga002.fm.intel.com with ESMTP; 24 Apr 2018 08:42:17 -0700 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1fB0CY-0007jv-Sh; Tue, 24 Apr 2018 23:49:54 +0800 Date: Tue, 24 Apr 2018 23:41:16 +0800 From: kbuild test robot To: jeffm@suse.com Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, Al Viro , "Eric W . Biederman" , Alexey Dobriyan , Oleg Nesterov , Jeff Mahoney Subject: [RFC PATCH] procfs: proc_pid_files_link_dentry_operations can be static Message-ID: <20180424154116.GA11745@lkp-ne02> References: <20180424022106.16952-6-jeffm@suse.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20180424022106.16952-6-jeffm@suse.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: fengguang.wu@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Fixes: fc3babee0341 ("procfs: share fd/fdinfo with thread group leader when files are shared") Signed-off-by: Fengguang Wu --- base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/proc/base.c b/fs/proc/base.c index 98a847b..deb0950 100644 --- a/fs/proc/base.c +++ b/fs/proc/base.c @@ -3565,7 +3565,7 @@ static int proc_pid_files_revalidate(struct dentry *dentry, unsigned int flags) * directory, there's no more work to do beyond pid_revalidate_inode, so * we just use the regular pid_dentry_operations. */ -const struct dentry_operations proc_pid_files_link_dentry_operations = { +static const struct dentry_operations proc_pid_files_link_dentry_operations = { .d_revalidate = proc_pid_files_revalidate, .d_delete = pid_delete_dentry, };