]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - fs/hfs/super.c
vfs: switch ->show_options() to struct dentry *
[mirror_ubuntu-zesty-kernel.git] / fs / hfs / super.c
index 32dc2fbb26d5e6830233290ca2f9ea27c8396fdf..8137fb3e6780343c6a7a36086547cdfba0936c0e 100644 (file)
@@ -133,9 +133,9 @@ static int hfs_remount(struct super_block *sb, int *flags, char *data)
        return 0;
 }
 
-static int hfs_show_options(struct seq_file *seq, struct vfsmount *mnt)
+static int hfs_show_options(struct seq_file *seq, struct dentry *root)
 {
-       struct hfs_sb_info *sbi = HFS_SB(mnt->mnt_sb);
+       struct hfs_sb_info *sbi = HFS_SB(root->d_sb);
 
        if (sbi->s_creator != cpu_to_be32(0x3f3f3f3f))
                seq_printf(seq, ",creator=%.4s", (char *)&sbi->s_creator);