[CRIU] [PATCH 1/2] mnt: do_new_mount should restore sharing

Oleg Nesterov oleg at redhat.com
Fri Apr 17 07:21:16 PDT 2015


On 04/16, Tycho Andersen wrote:
>
> Yes, so I almost did that as a part of this patch. The problem is that
> in some cases (internal_sharing, when a bind mount has different
> sharing, than its source) we want to force a private remount before
> doing a shared mount so we get different sharing IDs.

Yes, I was looking at do_bind_mount() too. Perhaps we can cleanup this
later... but this all is minor, and

> I just thought it was best to keep this patch small since it's a
> known issue.

Yes, yes, I think this patch is fine. I was just curious.

Thanks!

Oleg.



More information about the CRIU mailing list