irda: Push BKL down into irda ioctl handlers
Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
866988edac
commit
5406460098
@@ -76,9 +76,8 @@ static ssize_t
|
||||
static unsigned int
|
||||
dev_irnet_poll(struct file *,
|
||||
poll_table *);
|
||||
static int
|
||||
dev_irnet_ioctl(struct inode *,
|
||||
struct file *,
|
||||
static long
|
||||
dev_irnet_ioctl(struct file *,
|
||||
unsigned int,
|
||||
unsigned long);
|
||||
/* ------------------------ PPP INTERFACE ------------------------ */
|
||||
@@ -102,7 +101,7 @@ static struct file_operations irnet_device_fops =
|
||||
.read = dev_irnet_read,
|
||||
.write = dev_irnet_write,
|
||||
.poll = dev_irnet_poll,
|
||||
.ioctl = dev_irnet_ioctl,
|
||||
.unlocked_ioctl = dev_irnet_ioctl,
|
||||
.open = dev_irnet_open,
|
||||
.release = dev_irnet_close
|
||||
/* Also : llseek, readdir, mmap, flush, fsync, fasync, lock, readv, writev */
|
||||
|
Reference in New Issue
Block a user