All of lore.kernel.org
 help / color / mirror / Atom feed
* - sysctl-reimplement-the-sysctl-proc-support-fix-3.patch removed from -mm tree
@ 2007-02-14  6:59 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2007-02-14  6:59 UTC (permalink / raw)
  To: bunk, ebiederm, mm-commits


The patch titled
     fs/proc/: make code static
has been removed from the -mm tree.  Its filename was
     sysctl-reimplement-the-sysctl-proc-support-fix-3.patch

This patch was dropped because it was folded into sysctl-reimplement-the-sysctl-proc-support.patch

------------------------------------------------------
Subject: fs/proc/: make code static
From: Adrian Bunk <bunk@stusta.de>

proc_match() and struct proc_sys_root can now become static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 fs/proc/generic.c       |    2 +-
 fs/proc/proc_sysctl.c   |    2 +-
 include/linux/proc_fs.h |    2 --
 3 files changed, 2 insertions(+), 4 deletions(-)

diff -puN fs/proc/generic.c~sysctl-reimplement-the-sysctl-proc-support-fix-3 fs/proc/generic.c
--- a/fs/proc/generic.c~sysctl-reimplement-the-sysctl-proc-support-fix-3
+++ a/fs/proc/generic.c
@@ -32,7 +32,7 @@ static loff_t proc_file_lseek(struct fil
 
 DEFINE_SPINLOCK(proc_subdir_lock);
 
-int proc_match(int len, const char *name, struct proc_dir_entry *de)
+static int proc_match(int len, const char *name, struct proc_dir_entry *de)
 {
 	if (de->namelen != len)
 		return 0;
diff -puN fs/proc/proc_sysctl.c~sysctl-reimplement-the-sysctl-proc-support-fix-3 fs/proc/proc_sysctl.c
--- a/fs/proc/proc_sysctl.c~sysctl-reimplement-the-sysctl-proc-support-fix-3
+++ a/fs/proc/proc_sysctl.c
@@ -466,7 +466,7 @@ static struct dentry_operations proc_sys
 	.d_revalidate	= proc_sys_revalidate,
 };
 
-struct proc_dir_entry *proc_sys_root;
+static struct proc_dir_entry *proc_sys_root;
 
 int proc_sys_init(void)
 {
diff -puN include/linux/proc_fs.h~sysctl-reimplement-the-sysctl-proc-support-fix-3 include/linux/proc_fs.h
--- a/include/linux/proc_fs.h~sysctl-reimplement-the-sysctl-proc-support-fix-3
+++ a/include/linux/proc_fs.h
@@ -130,8 +130,6 @@ extern struct vfsmount *proc_mnt;
 extern int proc_fill_super(struct super_block *,void *,int);
 extern struct inode *proc_get_inode(struct super_block *, unsigned int, struct proc_dir_entry *);
 
-extern int proc_match(int, const char *,struct proc_dir_entry *);
-
 /*
  * These are generic /proc routines that use the internal
  * "struct proc_dir_entry" tree to traverse the filesystem.
_

Patches currently in -mm which might be from bunk@stusta.de are

origin.patch
sysctl-reimplement-the-sysctl-proc-support.patch
sysctl-reimplement-the-sysctl-proc-support-fix-3.patch
i386-enable-4k-stacks-by-default.patch
mutex-subsystem-synchro-test-module.patch

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-02-14  7:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-14  6:59 - sysctl-reimplement-the-sysctl-proc-support-fix-3.patch removed from -mm tree akpm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.