[Devel] [PATCH vz7 v2 2/2] mounts: print NFS nested mountpoint info

Stanislav Kinsburskiy skinsbursky at virtuozzo.com
Tue Jun 20 19:02:09 MSK 2017


https://jira.sw.ru/browse/PSBM-67466

Signed-off-by: Stanislav Kinsburskiy <skinsbursky at virtuozzo.com>
---
 criu/mount.c |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/criu/mount.c b/criu/mount.c
index 667b279..edbd140 100644
--- a/criu/mount.c
+++ b/criu/mount.c
@@ -751,8 +751,13 @@ static bool unsupported_mount(const struct mount_info *m)
 	struct mount_info *parent = m->parent;
 
 	if (parent && nfs_mount(parent)) {
-		pr_err("overmounted NFS (%s) is not supported yet:\n",
+		pr_err("overmounted NFS (%s) is not supported yet. Nested mount:\n",
 				parent->mountpoint);
+		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