Commit 4ad462b4 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

mount: proc-parse -- Show @mnt_id on debug print as well

This is convenient when need to lookup into debug prints
and check which mount point were used somewhere else
(in particular I will need @mnt_id in tty code so
 on error I can easily figure out which mountpoint has
 been used).

No func changes.
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent f582f16d
......@@ -1001,9 +1001,9 @@ struct mount_info *parse_mountinfo(pid_t pid, struct ns_id *nsid)
goto err;
}
pr_info("\ttype %s source %s %x %s @ %s flags %x options %s\n",
pr_info("\ttype %s source %s mnt_id %#x s_dev %#x %s @ %s flags %#x options %s\n",
new->fstype->name, new->source,
new->s_dev, new->root, new->mountpoint,
new->mnt_id, new->s_dev, new->root, new->mountpoint,
new->flags, new->options);
if (new->fstype->parse) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment