aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc_namespace.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-12-08 21:32:45 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2012-01-06 23:19:54 -0500
commit34c80b1d93e6e20ca9dea0baf583a5b5510d92d4 (patch)
tree7dcbf0a4e09464247e6992c8f44fcc872867bd3a /fs/proc_namespace.c
parenta6322de67b58a00e3a783ad9c87c2a11b2d67b47 (diff)
vfs: switch ->show_options() 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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/proc_namespace.c b/fs/proc_namespace.c
index 8f8304b3f98a..12412852d88a 100644
--- a/fs/proc_namespace.c
+++ b/fs/proc_namespace.c
@@ -113,7 +113,7 @@ static int show_vfsmnt(struct seq_file *m, struct vfsmount *mnt)
113 goto out; 113 goto out;
114 show_mnt_opts(m, mnt); 114 show_mnt_opts(m, mnt);
115 if (sb->s_op->show_options) 115 if (sb->s_op->show_options)
116 err = sb->s_op->show_options(m, mnt); 116 err = sb->s_op->show_options(m, mnt_path.dentry);
117 seq_puts(m, " 0 0\n"); 117 seq_puts(m, " 0 0\n");
118out: 118out:
119 return err; 119 return err;
@@ -174,7 +174,7 @@ static int show_mountinfo(struct seq_file *m, struct vfsmount *mnt)
174 if (err) 174 if (err)
175 goto out; 175 goto out;
176 if (sb->s_op->show_options) 176 if (sb->s_op->show_options)
177 err = sb->s_op->show_options(m, mnt); 177 err = sb->s_op->show_options(m, mnt->mnt_root);
178 seq_putc(m, '\n'); 178 seq_putc(m, '\n');
179out: 179out:
180 return err; 180 return err;