summaryrefslogtreecommitdiff
path: root/fs/proc_namespace.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-12-08 21:37:57 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2012-01-06 23:16:55 -0500
commita6322de67b58a00e3a783ad9c87c2a11b2d67b47 (patch)
tree526d8cb03b5f357bab06907eecad4c1d444a4934 /fs/proc_namespace.c
parentd861c630e99febe5ce6055290085556c5b714b06 (diff)
downloadlwn-a6322de67b58a00e3a783ad9c87c2a11b2d67b47.tar.gz
lwn-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)