lkml.org 
[lkml]   [2008]   [Feb]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
FromJiri Slaby <>
Subject[PATCH 1/1] tty: BKL pushdown fix1
DateFri, 8 Feb 2008 22:40:56 +0100
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
---
fs/compat_ioctl.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c
index c6e72ae..9663e87 100644
--- a/fs/compat_ioctl.c
+++ b/fs/compat_ioctl.c
@@ -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;
--
1.5.3.8


\
 
 \ /
  Last update: 2008-02-08 22:43    [from the cache]
©2003-2010