[CRIU] [PATCH] mount: save relative path in mi->mountpoint
Andrew Vagin
avagin at parallels.com
Wed Apr 16 05:23:28 PDT 2014
On Wed, Apr 16, 2014 at 03:52:37PM +0400, Pavel Emelyanov wrote:
> On 04/16/2014 02:48 PM, Andrey Vagin wrote:
> > @@ -1519,7 +1518,7 @@ int prepare_mnt_ns(int ns_pid)
> > return -1;
> > }
> >
> > - if (mount("none", mi->parent->mountpoint, "none", MS_SLAVE, NULL)) {
> > + if (mount("none", mi->parent->mountpoint + 1, "none", MS_SLAVE, NULL)) {
>
> How about do_new_mount() and others?
It's the restore part, it already works with such paths.
More information about the CRIU
mailing list