vfs: switch ->show_options() to struct dentry *

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro
2011-12-08 21:32:45 -05:00
parent a6322de67b
commit 34c80b1d93
39 changed files with 90 additions and 91 deletions
+2 -2
View 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)