vfs: switch ->show_options() to struct dentry *
[deliverable/linux.git] / fs / jffs2 / super.c
index 804e1292d63e8dd5b46c9f67a6114e76af523d0b..8be4925296cf981aed60190b96eca8fd0bf6e467 100644 (file)
@@ -96,9 +96,9 @@ static const char *jffs2_compr_name(unsigned int compr)
        }
 }
 
-static int jffs2_show_options(struct seq_file *s, struct vfsmount *mnt)
+static int jffs2_show_options(struct seq_file *s, struct dentry *root)
 {
-       struct jffs2_sb_info *c = JFFS2_SB_INFO(mnt->mnt_sb);
+       struct jffs2_sb_info *c = JFFS2_SB_INFO(root->d_sb);
        struct jffs2_mount_opts *opts = &c->mount_opts;
 
        if (opts->override_compr)
This page took 0.039744 seconds and 5 git commands to generate.