diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2009-07-07 23:54:37 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-07-08 18:31:56 +0200 |
commit | b43f3cbd21ffbd719fd4fa6642bfe6af255ded34 (patch) | |
tree | f09372f7aa3057a4cca32d5c7fc19032bd7cda5a /fs/namespace.c | |
parent | Merge branch 'sh/for-2.6.31' of git://git.kernel.org/pub/scm/linux/kernel/git... (diff) | |
download | linux-b43f3cbd21ffbd719fd4fa6642bfe6af255ded34.tar.xz linux-b43f3cbd21ffbd719fd4fa6642bfe6af255ded34.zip |
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 'fs/namespace.c')
-rw-r--r-- | fs/namespace.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/namespace.c b/fs/namespace.c index 3dc283fd4716..277c28a63ead 100644 --- a/fs/namespace.c +++ b/fs/namespace.c @@ -22,6 +22,7 @@ #include <linux/seq_file.h> #include <linux/mnt_namespace.h> #include <linux/namei.h> +#include <linux/nsproxy.h> #include <linux/security.h> #include <linux/mount.h> #include <linux/ramfs.h> |