Re: [RFC][PATCH] rbind across namespaces

Miklos Szeredi
2005-05-21T09:49:18Z

> I am not getting this comment. R u assuming that a detached mount
> will have NULL namespace? If so I dont see it being the case.
> Or am I missing some subtle point?

On a related note: now that it's not necessarily current->namespace
that's used as a destination for the mount, you'll have to pass
mntpt_ns into copy_tree() and clone_mnt() so that mnt->mnt_namespace
can correctly be set. That will also enable some cleanup in
copy_namespace(), where you can remove the of setting ->mnt_namespace.

Miklos