Re: [RFC][PATCH] rbind across namespaces

From: Miklos Szeredi
Date: Sat May 21 2005 - 04:51:02 EST


> 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/