diff options
Diffstat (limited to 'fs/devpts/inode.c')
-rw-r--r-- | fs/devpts/inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/devpts/inode.c b/fs/devpts/inode.c index d5d5297efe97..79673eb71151 100644 --- a/fs/devpts/inode.c +++ b/fs/devpts/inode.c | |||
@@ -246,9 +246,9 @@ static int devpts_remount(struct super_block *sb, int *flags, char *data) | |||
246 | return err; | 246 | return err; |
247 | } | 247 | } |
248 | 248 | ||
249 | static int devpts_show_options(struct seq_file *seq, struct vfsmount *vfs) | 249 | static int devpts_show_options(struct seq_file *seq, struct dentry *root) |
250 | { | 250 | { |
251 | struct pts_fs_info *fsi = DEVPTS_SB(vfs->mnt_sb); | 251 | struct pts_fs_info *fsi = DEVPTS_SB(root->d_sb); |
252 | struct pts_mount_opts *opts = &fsi->mount_opts; | 252 | struct pts_mount_opts *opts = &fsi->mount_opts; |
253 | 253 | ||
254 | if (opts->setuid) | 254 | if (opts->setuid) |