projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
switch create_mnt_ns() to saner calling conventions, fix double mntput() in nfs
[deliverable/linux.git]
/
fs
/
namespace.c
diff --git
a/fs/namespace.c
b/fs/namespace.c
index e5e1c7d1839b791f0c52428a9ffe058bd7ded092..aea4b7689840763e81b5cd0d02c7c71e457d662a 100644
(file)
--- a/
fs/namespace.c
+++ b/
fs/namespace.c
@@
-2483,6
+2483,8
@@
struct mnt_namespace *create_mnt_ns(struct vfsmount *mnt)
__mnt_make_longterm(mnt);
new_ns->root = mnt;
list_add(&new_ns->list, &new_ns->root->mnt_list);
+ } else {
+ mntput(mnt);
}
return new_ns;
}
This page took
0.025787 seconds
and
5
git commands to generate.