vfs: switch ->show_options() to struct dentry *
[linux-block.git] / fs / hostfs / hostfs_kern.c
index a7340e710a90558a9c4be3e762665392c3630ce3..e130bd46d671515762152d071194ce9e9a3bb4a6 100644 (file)
@@ -258,9 +258,9 @@ static void hostfs_destroy_inode(struct inode *inode)
        call_rcu(&inode->i_rcu, hostfs_i_callback);
 }
 
-static int hostfs_show_options(struct seq_file *seq, struct vfsmount *vfs)
+static int hostfs_show_options(struct seq_file *seq, struct dentry *root)
 {
-       const char *root_path = vfs->mnt_sb->s_fs_info;
+       const char *root_path = root->d_sb->s_fs_info;
        size_t offset = strlen(root_ino) + 1;
 
        if (strlen(root_path) > offset)