diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2009-07-08 01:54:37 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-07-08 09:31:56 -0700 |
commit | b43f3cbd21ffbd719fd4fa6642bfe6af255ded34 (patch) | |
tree | f09372f7aa3057a4cca32d5c7fc19032bd7cda5a /kernel | |
parent | 622f8061a68d3f7a576c20a47b7f3bae7c8cfbef (diff) | |
download | op-kernel-dev-b43f3cbd21ffbd719fd4fa6642bfe6af255ded34.zip op-kernel-dev-b43f3cbd21ffbd719fd4fa6642bfe6af255ded34.tar.gz |
headers: mnt_namespace.h redux
Fix various silly problems wrt mnt_namespace.h:
- exit_mnt_ns() isn't used, remove it
- done that, sched.h and nsproxy.h inclusions aren't needed
- mount.h inclusion was need for vfsmount_lock, but no longer
- remove mnt_namespace.h inclusion from files which don't use anything
from mnt_namespace.h
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/exit.c | 1 | ||||
-rw-r--r-- | kernel/fork.c | 1 | ||||
-rw-r--r-- | kernel/kmod.c | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/kernel/exit.c b/kernel/exit.c index 628d41f..869dc22 100644 --- a/kernel/exit.c +++ b/kernel/exit.c @@ -12,7 +12,6 @@ #include <linux/completion.h> #include <linux/personality.h> #include <linux/tty.h> -#include <linux/mnt_namespace.h> #include <linux/iocontext.h> #include <linux/key.h> #include <linux/security.h> diff --git a/kernel/fork.c b/kernel/fork.c index 467746b..bd29592 100644 --- a/kernel/fork.c +++ b/kernel/fork.c @@ -17,7 +17,6 @@ #include <linux/module.h> #include <linux/vmalloc.h> #include <linux/completion.h> -#include <linux/mnt_namespace.h> #include <linux/personality.h> #include <linux/mempolicy.h> #include <linux/sem.h> diff --git a/kernel/kmod.c b/kernel/kmod.c index 7e95bed..385c31a 100644 --- a/kernel/kmod.c +++ b/kernel/kmod.c @@ -24,7 +24,6 @@ #include <linux/unistd.h> #include <linux/kmod.h> #include <linux/slab.h> -#include <linux/mnt_namespace.h> #include <linux/completion.h> #include <linux/file.h> #include <linux/fdtable.h> |