1 --- a/kernel/zaptel-base.c
2 +++ b/kernel/zaptel-base.c
3 @@ -5182,14 +5182,20 @@ static int zt_ioctl(struct inode *inode,
6 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,36)
8 #include <linux/smp_lock.h>
10 static long zt_ioctl_unlocked(struct file *file, unsigned int cmd, unsigned long data)
17 ret = zt_ioctl(file->f_path.dentry->d_inode, file, cmd, data);