The patch titled Subject: proc: make proc_subdir_lock static has been added to the -mm tree. Its filename is proc-make-proc_subdir_lock-static.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/proc-make-proc_subdir_lock-static.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/proc-make-proc_subdir_lock-static.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Alexey Dobriyan <adobriyan@xxxxxxxxx> Subject: proc: make proc_subdir_lock static Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx> Cc: Al Viro <viro@xxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/proc/generic.c | 2 +- fs/proc/internal.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff -puN fs/proc/generic.c~proc-make-proc_subdir_lock-static fs/proc/generic.c --- a/fs/proc/generic.c~proc-make-proc_subdir_lock-static +++ a/fs/proc/generic.c @@ -27,7 +27,7 @@ #include "internal.h" -DEFINE_SPINLOCK(proc_subdir_lock); +static DEFINE_SPINLOCK(proc_subdir_lock); static int proc_match(unsigned int len, const char *name, struct proc_dir_entry *de) { diff -puN fs/proc/internal.h~proc-make-proc_subdir_lock-static fs/proc/internal.h --- a/fs/proc/internal.h~proc-make-proc_subdir_lock-static +++ a/fs/proc/internal.h @@ -178,8 +178,6 @@ extern bool proc_fill_cache(struct file /* * generic.c */ -extern spinlock_t proc_subdir_lock; - extern struct dentry *proc_lookup(struct inode *, struct dentry *, unsigned int); extern struct dentry *proc_lookup_de(struct proc_dir_entry *, struct inode *, struct dentry *); _ Patches currently in -mm which might be from adobriyan@xxxxxxxxx are lib-test-kstrtoxc-use-array_size-instead-of-sizeof-sizeof.patch proc-add-and-remove-proc-entry-create-checks.patch proc-faster-proc-pid-lookup.patch proc-make-proc_subdir_lock-static.patch proc-remove-proc_tty_ldisc-variable.patch proc-remove-proc_tty_ldisc-variable-fix.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html