[CRIU] [PATCHv2 1/4] mount: Add error messages
Pavel Tikhomirov
ptikhomirov at virtuozzo.com
Mon Nov 18 13:30:01 MSK 2019
On 11/17/19 1:29 PM, Radostin Stoyanov wrote:
> On 17/11/2019 09:37, Pavel Tikhomirov wrote:
>> Haven't you lost the "Unable to remount" hunk from v1? And maybe you can
>> write "v2:..." comments so it would be easier to understand what's
>> changed.
> I'm sorry for the confusion. The same line was also being changed in the
> following patch, so I combined both changes into a single one (in the
> next patch).
Looks completely lost in v2:
[snorch at snorch criu]$ git log -p
criupatchwork/3860~4..criupatchwork/3860 | grep ns_open_mountpoint -A9
@@ -1335,8 +1335,10 @@ int ns_open_mountpoint(void *arg)
}
/* Remount all mounts as private to disable propagation */
- if (mount("none", "/", NULL, MS_REC|MS_PRIVATE, NULL))
+ if (mount("none", "/", NULL, MS_REC|MS_PRIVATE, NULL)) {
+ pr_perror("Unable to remount");
goto err;
+ }
[snorch at snorch criu]$ git log -p
criupatchwork/3875~4..criupatchwork/3875 | grep ns_open_mountpoint -A9
[snorch at snorch criu]$
>
> The changes since v1 are just updated error messages based on the
> comments from https://github.com/checkpoint-restore/criu/pull/843
--
Best regards, Tikhomirov Pavel
Software Developer, Virtuozzo.
More information about the CRIU
mailing list