summaryrefslogtreecommitdiffstats
path: root/fs/proc_namespace.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-12-09 03:37:57 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2012-01-07 05:16:55 +0100
commita6322de67b58a00e3a783ad9c87c2a11b2d67b47 (patch)
tree526d8cb03b5f357bab06907eecad4c1d444a4934 /fs/proc_namespace.c
parentvfs: switch ->show_devname() to struct dentry * (diff)
downloadlinux-a6322de67b58a00e3a783ad9c87c2a11b2d67b47.tar.xz
linux-a6322de67b58a00e3a783ad9c87c2a11b2d67b47.zip
vfs: switch ->show_path() to struct dentry *
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/proc_namespace.c')
-rw-r--r--fs/proc_namespace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc_namespace.c b/fs/proc_namespace.c
index 6d4583ddbeda..8f8304b3f98a 100644
--- a/fs/proc_namespace.c
+++ b/fs/proc_namespace.c
@@ -131,7 +131,7 @@ static int show_mountinfo(struct seq_file *m, struct vfsmount *mnt)
seq_printf(m, "%i %i %u:%u ", r->mnt_id, r->mnt_parent->mnt_id,
MAJOR(sb->s_dev), MINOR(sb->s_dev));
if (sb->s_op->show_path)
- err = sb->s_op->show_path(m, mnt);
+ err = sb->s_op->show_path(m, mnt->mnt_root);
else
seq_dentry(m, mnt->mnt_root, " \t\n\\");
if (err)