[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180424154116.GA11745@lkp-ne02>
Date: Tue, 24 Apr 2018 23:41:16 +0800
From: kbuild test robot <lkp@...el.com>
To: jeffm@...e.com
Cc: kbuild-all@...org, linux-kernel@...r.kernel.org,
linux-fsdevel@...r.kernel.org, Al Viro <viro@...iv.linux.org.uk>,
"Eric W . Biederman" <ebiederm@...ssion.com>,
Alexey Dobriyan <adobriyan@...il.com>,
Oleg Nesterov <oleg@...hat.com>, Jeff Mahoney <jeffm@...e.com>
Subject: [RFC PATCH] procfs: proc_pid_files_link_dentry_operations can be
static
Fixes: fc3babee0341 ("procfs: share fd/fdinfo with thread group leader when files are shared")
Signed-off-by: Fengguang Wu <fengguang.wu@...el.com>
---
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,
};
Powered by blists - more mailing lists