Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
6c449c8d
Commit
6c449c8d
authored
Nov 16, 2011
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
unexport put_mnt_ns(), make create_mnt_ns() static outright
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
aafd08da
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
4 deletions
+1
-4
fs/namespace.c
fs/namespace.c
+1
-3
include/linux/mnt_namespace.h
include/linux/mnt_namespace.h
+0
-1
No files found.
fs/namespace.c
View file @
6c449c8d
...
...
@@ -2444,7 +2444,7 @@ struct mnt_namespace *copy_mnt_ns(unsigned long flags, struct mnt_namespace *ns,
* create_mnt_ns - creates a private namespace and adds a root filesystem
* @mnt: pointer to the new root filesystem mountpoint
*/
struct
mnt_namespace
*
create_mnt_ns
(
struct
vfsmount
*
mnt
)
st
atic
st
ruct
mnt_namespace
*
create_mnt_ns
(
struct
vfsmount
*
mnt
)
{
struct
mnt_namespace
*
new_ns
;
...
...
@@ -2459,7 +2459,6 @@ struct mnt_namespace *create_mnt_ns(struct vfsmount *mnt)
}
return
new_ns
;
}
EXPORT_SYMBOL
(
create_mnt_ns
);
struct
dentry
*
mount_subtree
(
struct
vfsmount
*
mnt
,
const
char
*
name
)
{
...
...
@@ -2734,7 +2733,6 @@ void put_mnt_ns(struct mnt_namespace *ns)
release_mounts
(
&
umount_list
);
kfree
(
ns
);
}
EXPORT_SYMBOL
(
put_mnt_ns
);
struct
vfsmount
*
kern_mount_data
(
struct
file_system_type
*
type
,
void
*
data
)
{
...
...
include/linux/mnt_namespace.h
View file @
6c449c8d
...
...
@@ -22,7 +22,6 @@ struct proc_mounts {
struct
fs_struct
;
extern
struct
mnt_namespace
*
create_mnt_ns
(
struct
vfsmount
*
mnt
);
extern
struct
mnt_namespace
*
copy_mnt_ns
(
unsigned
long
,
struct
mnt_namespace
*
,
struct
fs_struct
*
);
extern
void
put_mnt_ns
(
struct
mnt_namespace
*
ns
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment