2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 06:15:24 +00:00

mount: Fix comment style

We don't use C99 comments.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Acked-by: Tycho Andersen <tycho.andersen@canonical.com>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Cyrill Gorcunov
2015-09-03 13:05:08 +03:00
committed by Pavel Emelyanov
parent 2971fb187f
commit f7d550323b

12
mount.c
View File

@@ -667,8 +667,10 @@ static int validate_mounts(struct mount_info *info, bool for_dump)
int ret;
if (for_dump) {
// We've already resolved the mount
// and it is external.
/*
* We've already resolved the mount
* and it is external.
*/
if (m->external) {
ret = 0;
} else {
@@ -930,8 +932,10 @@ static int collect_shared(struct mount_info *info, bool for_dump)
}
}
// If we haven't already determined this mount is external,
// then we don't know where it came from.
/*
* If we haven't already determined this mount is external,
* then we don't know where it came from.
*/
if (need_master && m->parent && !m->external) {
pr_err("Mount %d %s (master_id: %d shared_id: %d) "
"has unreachable sharing. Try --enable-external-masters.\n", m->mnt_id,