Messages in this thread | | | Subject | Re: [PATCH] namespace.c: fix bind mount from foreign namespace | From | Miklos Szeredi <> | Date | Mon, 16 May 2005 10:59:59 +0200 |
| |
> A vfsmount can only be in a single namespace at a time, since each > mount tree is rooted in a single namespace. So what you are saying is > impossible.
To be more precise a vfsmount can only be in _at_ _most_ one namespace. When it is detached from a mount tree, it's no longer in _any_ namespace.
There even seems to be some confusion about that in namespace.c. I think mnt_namespace should be set to NULL in detach_mnt() instead of __put_namespace().
Miklos - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |