vfs: switch ->show_options() to struct dentry *
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
diff --git a/fs/proc_namespace.c b/fs/proc_namespace.c
index 8f8304b..1241285 100644
--- a/fs/proc_namespace.c
+++ b/fs/proc_namespace.c
@@ -113,7 +113,7 @@
goto out;
show_mnt_opts(m, mnt);
if (sb->s_op->show_options)
- err = sb->s_op->show_options(m, mnt);
+ err = sb->s_op->show_options(m, mnt_path.dentry);
seq_puts(m, " 0 0\n");
out:
return err;
@@ -174,7 +174,7 @@
if (err)
goto out;
if (sb->s_op->show_options)
- err = sb->s_op->show_options(m, mnt);
+ err = sb->s_op->show_options(m, mnt->mnt_root);
seq_putc(m, '\n');
out:
return err;