* [patch] procfs: update proc_show_options() to new API
@ 2012-01-04 7:25 Dan Carpenter
0 siblings, 0 replies; only message in thread
From: Dan Carpenter @ 2012-01-04 7:25 UTC (permalink / raw)
To: Andrew Morton; +Cc: Eric W. Biederman, Al Viro, linux-kernel, kernel-janitors
This needs to be updated to take a dentry pointer after 79744e695a "vfs:
switch ->show_options() to struct dentry *"
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
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)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-01-04 7:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-04 7:25 [patch] procfs: update proc_show_options() to new API Dan Carpenter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox