[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20120104072522.GG30978@elgon.mountain>
Date: Wed, 4 Jan 2012 10:25:22 +0300
From: Dan Carpenter <dan.carpenter@...cle.com>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: "Eric W. Biederman" <ebiederm@...ssion.com>,
Al Viro <viro@...iv.linux.org.uk>,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: [patch] procfs: update proc_show_options() to new API
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@...cle.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)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists