]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - fs/ext2/super.c
vfs: switch ->show_options() to struct dentry *
[mirror_ubuntu-zesty-kernel.git] / fs / ext2 / super.c
index 67b5e752ec9d95bcff479685f394fbc09adfdb17..9b403f064ce09304c56ed2b6d767ac7eb37798e1 100644 (file)
@@ -210,9 +210,9 @@ static void destroy_inodecache(void)
        kmem_cache_destroy(ext2_inode_cachep);
 }
 
-static int ext2_show_options(struct seq_file *seq, struct vfsmount *vfs)
+static int ext2_show_options(struct seq_file *seq, struct dentry *root)
 {
-       struct super_block *sb = vfs->mnt_sb;
+       struct super_block *sb = root->d_sb;
        struct ext2_sb_info *sbi = EXT2_SB(sb);
        struct ext2_super_block *es = sbi->s_es;
        unsigned long def_mount_opts;