* [PATCH] proc: Update for change of ->show_options() to struct dentry *
@ 2011-12-28 13:17 Mark Brown
0 siblings, 0 replies; only message in thread
From: Mark Brown @ 2011-12-28 13:17 UTC (permalink / raw)
To: Andrew Morton, Al Viro; +Cc: linux-fsdevel, linux-kernel, Mark Brown
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@opensource.wolfsonmicro.com>
---
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)
init_once);
}
-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)
--
1.7.7.3
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2011-12-28 13:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-28 13:17 [PATCH] proc: Update for change of ->show_options() to struct dentry * Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).