Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
xenomai
ipipe
Commits
0ceeca5a
Commit
0ceeca5a
authored
Feb 05, 2010
by
Al Viro
Browse files
hppfs can use existing proc_mnt, no need for do_kern_mount() in there
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
8089352a
Changes
1
Hide whitespace changes
Inline
Side-by-side
fs/hppfs/hppfs.c
View file @
0ceeca5a
...
...
@@ -718,7 +718,7 @@ static int hppfs_fill_super(struct super_block *sb, void *d, int silent)
struct
vfsmount
*
proc_mnt
;
int
err
=
-
ENOENT
;
proc_mnt
=
do_kern_mount
(
"proc"
,
0
,
"proc"
,
NULL
);
proc_mnt
=
mntget
(
current
->
nsproxy
->
pid_ns
->
proc_mnt
);
if
(
IS_ERR
(
proc_mnt
))
goto
out
;
...
...
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