diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-11-16 22:01:36 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-03 22:52:37 -0500 |
commit | 6c449c8dfe30142b3ced5f052e8ed3cce308801a (patch) | |
tree | df962c6c88584ea97afb083fa05adb1b865c26e0 /fs | |
parent | aafd08dad019ecc858b31fb89064f4de623c64f7 (diff) |
unexport put_mnt_ns(), make create_mnt_ns() static outright
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/namespace.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/namespace.c b/fs/namespace.c index 7aad258dcaf6..0953a3a6d45e 100644 --- a/fs/namespace.c +++ b/fs/namespace.c | |||
@@ -2444,7 +2444,7 @@ struct mnt_namespace *copy_mnt_ns(unsigned long flags, struct mnt_namespace *ns, | |||
2444 | * create_mnt_ns - creates a private namespace and adds a root filesystem | 2444 | * create_mnt_ns - creates a private namespace and adds a root filesystem |
2445 | * @mnt: pointer to the new root filesystem mountpoint | 2445 | * @mnt: pointer to the new root filesystem mountpoint |
2446 | */ | 2446 | */ |
2447 | struct mnt_namespace *create_mnt_ns(struct vfsmount *mnt) | 2447 | static struct mnt_namespace *create_mnt_ns(struct vfsmount *mnt) |
2448 | { | 2448 | { |
2449 | struct mnt_namespace *new_ns; | 2449 | struct mnt_namespace *new_ns; |
2450 | 2450 | ||
@@ -2459,7 +2459,6 @@ struct mnt_namespace *create_mnt_ns(struct vfsmount *mnt) | |||
2459 | } | 2459 | } |
2460 | return new_ns; | 2460 | return new_ns; |
2461 | } | 2461 | } |
2462 | EXPORT_SYMBOL(create_mnt_ns); | ||
2463 | 2462 | ||
2464 | struct dentry *mount_subtree(struct vfsmount *mnt, const char *name) | 2463 | struct dentry *mount_subtree(struct vfsmount *mnt, const char *name) |
2465 | { | 2464 | { |
@@ -2734,7 +2733,6 @@ void put_mnt_ns(struct mnt_namespace *ns) | |||
2734 | release_mounts(&umount_list); | 2733 | release_mounts(&umount_list); |
2735 | kfree(ns); | 2734 | kfree(ns); |
2736 | } | 2735 | } |
2737 | EXPORT_SYMBOL(put_mnt_ns); | ||
2738 | 2736 | ||
2739 | struct vfsmount *kern_mount_data(struct file_system_type *type, void *data) | 2737 | struct vfsmount *kern_mount_data(struct file_system_type *type, void *data) |
2740 | { | 2738 | { |