]> git.ipfire.org Git - thirdparty/linux.git/blobdiff - fs/hfsplus/options.c
vfs: switch ->show_options() to struct dentry *
[thirdparty/linux.git] / fs / hfsplus / options.c
index bb62a5882147e7c800f21b6173126a6dfa51e1f3..06fa5618600c86c18b033b27a89bea1a91fbeaaf 100644 (file)
@@ -206,9 +206,9 @@ done:
        return 1;
 }
 
-int hfsplus_show_options(struct seq_file *seq, struct vfsmount *mnt)
+int hfsplus_show_options(struct seq_file *seq, struct dentry *root)
 {
-       struct hfsplus_sb_info *sbi = HFSPLUS_SB(mnt->mnt_sb);
+       struct hfsplus_sb_info *sbi = HFSPLUS_SB(root->d_sb);
 
        if (sbi->creator != HFSPLUS_DEF_CR_TYPE)
                seq_printf(seq, ",creator=%.4s", (char *)&sbi->creator);