[PATCH] proc: Update for change of ->show_options() to struct dentry *

From: Mark Brown
Date: Wed Dec 28 2011 - 08:18:13 EST

The change "vfs: switch ->show_options() to struct dentry *" in -next
updated the filesystems to use a struct dentry * as the second paremeter
for show_options() but procfs wasn't converted. Do the conversion.

Signed-off-by: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
fs/proc/inode.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/proc/inode.c b/fs/proc/inode.c
index e80cb5a..d839bfd 100644
--- a/fs/proc/inode.c
+++ b/fs/proc/inode.c
@@ -106,9 +106,9 @@ void __init proc_init_inodecache(void)

-static int proc_show_options(struct seq_file *seq, struct vfsmount *vfs)
+static int proc_show_options(struct seq_file *seq, struct dentry *root)
- struct super_block *sb = vfs->mnt_sb;
+ struct super_block *sb = root->d_sb;
struct pid_namespace *pid = sb->s_fs_info;

if (pid->pid_gid)

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/