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

View File

@@ -419,9 +419,9 @@ static int ubifs_statfs(struct dentry *dentry, struct kstatfs *buf)
return 0;
}
static int ubifs_show_options(struct seq_file *s, struct vfsmount *mnt)
static int ubifs_show_options(struct seq_file *s, struct dentry *root)
{
struct ubifs_info *c = mnt->mnt_sb->s_fs_info;
struct ubifs_info *c = root->d_sb->s_fs_info;
if (c->mount_opts.unmount_mode == 2)
seq_printf(s, ",fast_unmount");