vfs: switch ->show_options() to struct dentry *
[linux-block.git] / fs / btrfs / super.c
index dc62d3cc68fd1a7dd436956780f4c3c21e62c969..ae488aa1966a1b32d6a3c4438424eb690740d4c9 100644 (file)
@@ -661,9 +661,9 @@ int btrfs_sync_fs(struct super_block *sb, int wait)
        return ret;
 }
 
-static int btrfs_show_options(struct seq_file *seq, struct vfsmount *vfs)
+static int btrfs_show_options(struct seq_file *seq, struct dentry *dentry)
 {
-       struct btrfs_root *root = btrfs_sb(vfs->mnt_sb);
+       struct btrfs_root *root = btrfs_sb(dentry->d_sb);
        struct btrfs_fs_info *info = root->fs_info;
        char *compress_type;