vfs: switch ->show_options() to struct dentry *
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user