tty: BKL pushdown
[linux-2.6-block.git] / fs / compat_ioctl.c
index c6e72aebd16b43e7b16339cb69869472fccbdd24..9663e877672465f39fc2d0f67fff757e88a2771c 100644 (file)
@@ -1046,7 +1046,7 @@ static int vt_check(struct file *file)
        struct inode *inode = file->f_path.dentry->d_inode;
        struct vc_data *vc;
        
-       if (file->f_op->ioctl != tty_ioctl)
+       if (file->f_op->unlocked_ioctl != tty_ioctl)
                return -EINVAL;
                        
        tty = (struct tty_struct *)file->private_data;