mirror of
https://github.com/checkpoint-restore/criu
synced 2025-09-02 23:35:21 +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:
committed by
Pavel Emelyanov
parent
2971fb187f
commit
f7d550323b
12
mount.c
12
mount.c
@@ -667,8 +667,10 @@ static int validate_mounts(struct mount_info *info, bool for_dump)
|
|||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
if (for_dump) {
|
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) {
|
if (m->external) {
|
||||||
ret = 0;
|
ret = 0;
|
||||||
} else {
|
} 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) {
|
if (need_master && m->parent && !m->external) {
|
||||||
pr_err("Mount %d %s (master_id: %d shared_id: %d) "
|
pr_err("Mount %d %s (master_id: %d shared_id: %d) "
|
||||||
"has unreachable sharing. Try --enable-external-masters.\n", m->mnt_id,
|
"has unreachable sharing. Try --enable-external-masters.\n", m->mnt_id,
|
||||||
|
Reference in New Issue
Block a user