projects/linux·commit be21a73e

Merge tag 'sysctl-fixes-v2-v6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux

be21a73e · Linus Torvalds <[email protected]> · 2023-07-01 08:40:56 -07:00

Pull another sysctl fix from Luis Chamberlain:
 "Just one minor nit I forgot to merge"

* tag 'sysctl-fixes-v2-v6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux:
  sysctl: set variable sysctl_mount_point storage-class-specifier to static
Commit
be21a73edd5ded67524eabb9dad42799b42c0585
Parents
170ab6c5 · 7fffbc71

Merge commit. Changes below are compared with the first parent: 170ab6c5.

Changes

1 files changed · +1 −1

FileStatusAddDelContent
fs/proc/proc_sysctl.cmodified+1−1View file

fs/proc/proc_sysctl.c

View file
diff --git a/fs/proc/proc_sysctl.c b/fs/proc/proc_sysctl.c
index 4e54889..5ea4265 100644
--- a/fs/proc/proc_sysctl.c
+++ b/fs/proc/proc_sysctl.c
@@ -29,7 +29,7 @@ static const struct file_operations proc_sys_dir_file_operations;
static const struct inode_operations proc_sys_dir_operations;
/* Support for permanently empty directories */
-struct ctl_table sysctl_mount_point[] = {
+static struct ctl_table sysctl_mount_point[] = {
{.type = SYSCTL_TABLE_TYPE_PERMANENTLY_EMPTY }
};