> 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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- References:
- [PATCH] namespace.c: fix bind mount from foreign namespace
- From: Miklos Szeredi <[email protected]>
- Re: [PATCH] namespace.c: fix bind mount from foreign namespace
- From: Al Viro <[email protected]>
- Re: [PATCH] namespace.c: fix bind mount from foreign namespace
- From: Miklos Szeredi <[email protected]>
- Re: [PATCH] namespace.c: fix bind mount from foreign namespace
- From: Ram <[email protected]>
- Re: [PATCH] namespace.c: fix bind mount from foreign namespace
- From: Miklos Szeredi <[email protected]>
- Re: [PATCH] namespace.c: fix bind mount from foreign namespace
- From: Miklos Szeredi <[email protected]>
- Re: [PATCH] namespace.c: fix bind mount from foreign namespace
- From: Ram <[email protected]>
- Re: [PATCH] namespace.c: fix bind mount from foreign namespace
- From: Miklos Szeredi <[email protected]>
- [PATCH] namespace.c: fix bind mount from foreign namespace
- Prev by Date: Re: ioctl to keyboard device file
- Next by Date: What breaks aic7xxx in post 2.6.12-rc2 ?
- Previous by thread: Re: [PATCH] namespace.c: fix bind mount from foreign namespace
- Next by thread: Re: [PATCH] namespace.c: fix bind mount from foreign namespace
- Index(es):