vfs: switch ->show_options() to struct dentry *
[linux-block.git] / fs / ufs / super.c
index d6961eb5b774ed9916ca9a67b7b8ce1c150de022..5246ee3e56078b358609bc7115fca093543ea946 100644 (file)
@@ -1351,9 +1351,9 @@ static int ufs_remount (struct super_block *sb, int *mount_flags, char *data)
        return 0;
 }
 
-static int ufs_show_options(struct seq_file *seq, struct vfsmount *vfs)
+static int ufs_show_options(struct seq_file *seq, struct dentry *root)
 {
-       struct ufs_sb_info *sbi = UFS_SB(vfs->mnt_sb);
+       struct ufs_sb_info *sbi = UFS_SB(root->d_sb);
        unsigned mval = sbi->s_mount_opt & UFS_MOUNT_UFSTYPE;
        const struct match_token *tp = tokens;