[Devel] [PATCH 2/2] mount: print NFS nested mountpoint info
Stanislav Kinsburskiy
skinsbursky at virtuozzo.com
Tue Jun 20 18:29:03 MSK 2017
https://jira.sw.ru/browse/PSBM-67466
Signed-off-by: Stanislav Kinsburskiy <skinsbursky at virtuozzo.com>
---
criu/mount.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/criu/mount.c b/criu/mount.c
index 46ad66c..0b612a3 100644
--- a/criu/mount.c
+++ b/criu/mount.c
@@ -411,6 +411,11 @@ static bool unsupported_mount(const struct mount_info *m)
if (m->parent && nfs_mount(parent)) {
pr_err("overmounted NFS (%s) is not supported yet:\n",
parent->mountpoint);
+ pr_err("nested mount:\n");
+ pr_err("\ttype %s source %s mnt_id %d s_dev %#x %s @ %s flags %#x options %s\n",
+ m->fsname, m->source,
+ m->mnt_id, m->s_dev, m->root, m->mountpoint,
+ m->flags, m->options);
return true;
}
return false;
More information about the Devel
mailing list