vfs: switch ->show_options() to struct dentry *
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -246,9 +246,9 @@ static int devpts_remount(struct super_block *sb, int *flags, char *data)
|
||||
return err;
|
||||
}
|
||||
|
||||
static int devpts_show_options(struct seq_file *seq, struct vfsmount *vfs)
|
||||
static int devpts_show_options(struct seq_file *seq, struct dentry *root)
|
||||
{
|
||||
struct pts_fs_info *fsi = DEVPTS_SB(vfs->mnt_sb);
|
||||
struct pts_fs_info *fsi = DEVPTS_SB(root->d_sb);
|
||||
struct pts_mount_opts *opts = &fsi->mount_opts;
|
||||
|
||||
if (opts->setuid)
|
||||
|
Reference in New Issue
Block a user