git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] unbindable mounts
[safe/jmp/linux-2.6]
/
fs
/
pnode.c
diff --git
a/fs/pnode.c
b/fs/pnode.c
index
3e266c5
..
aeeec8b
100644
(file)
--- a/
fs/pnode.c
+++ b/
fs/pnode.c
@@
-82,6
+82,8
@@
void change_mnt_propagation(struct vfsmount *mnt, int type)
if (type != MS_SLAVE) {
list_del_init(&mnt->mnt_slave);
mnt->mnt_master = NULL;
+ if (type == MS_UNBINDABLE)
+ mnt->mnt_flags |= MNT_UNBINDABLE;
}
}