aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAl Viro2011-12-08 20:32:45 -0600
committerAl Viro2012-01-06 22:19:54 -0600
commit34c80b1d93e6e20ca9dea0baf583a5b5510d92d4 (patch)
tree7dcbf0a4e09464247e6992c8f44fcc872867bd3a /fs/namespace.c
parenta6322de67b58a00e3a783ad9c87c2a11b2d67b47 (diff)
downloadkernel-omap-34c80b1d93e6e20ca9dea0baf583a5b5510d92d4.tar.gz
kernel-omap-34c80b1d93e6e20ca9dea0baf583a5b5510d92d4.tar.xz
kernel-omap-34c80b1d93e6e20ca9dea0baf583a5b5510d92d4.zip
vfs: switch ->show_options() to struct dentry *
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/namespace.c')
-rw-r--r--fs/namespace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/namespace.c b/fs/namespace.c
index 773435ca300d..db65e2e4921f 100644
--- a/fs/namespace.c
+++ b/fs/namespace.c
@@ -836,12 +836,12 @@ static inline void mangle(struct seq_file *m, const char *s)
836 * 836 *
837 * See also save_mount_options(). 837 * See also save_mount_options().
838 */ 838 */
839int generic_show_options(struct seq_file *m, struct vfsmount *mnt) 839int generic_show_options(struct seq_file *m, struct dentry *root)
840{ 840{
841 const char *options; 841 const char *options;
842 842
843 rcu_read_lock(); 843 rcu_read_lock();
844 options = rcu_dereference(mnt->mnt_sb->s_options); 844 options = rcu_dereference(root->d_sb->s_options);
845 845
846 if (options != NULL && options[0]) { 846 if (options != NULL && options[0]) {
847 seq_putc(m, ','); 847 seq_putc(m, ',');