projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-microblaze.git]
/
fs
/
namespace.c
diff --git
a/fs/namespace.c
b/fs/namespace.c
index
3357c3d
..
ffb13f0
100644
(file)
--- a/
fs/namespace.c
+++ b/
fs/namespace.c
@@
-2599,7
+2599,7
@@
static int do_move_mount(struct path *old_path, struct path *new_path)
if (attached && !check_mnt(old))
goto out;
- if (!attached && !
is_anon_ns(ns
))
+ if (!attached && !
(ns && is_anon_ns(ns)
))
goto out;
if (old->mnt.mnt_flags & MNT_LOCKED)