From: mb@3c298f89-4303-0410-b956-a3cf2f4a3e73 Date: Thu, 7 Oct 2010 21:43:27 +0000 (+0000) Subject: zaptel-1.4: Fix inode pointer X-Git-Url: http://git.archive.openwrt.org/?a=commitdiff_plain;h=c9f184f838534a5cceb536a33386adc667f10b2e;p=feed%2Ftelephony.git zaptel-1.4: Fix inode pointer --- diff --git a/libs/zaptel-1.4.x/patches/370-2.6.36.patch b/libs/zaptel-1.4.x/patches/370-2.6.36.patch index 43784f6..bff07ca 100644 --- a/libs/zaptel-1.4.x/patches/370-2.6.36.patch +++ b/libs/zaptel-1.4.x/patches/370-2.6.36.patch @@ -15,7 +15,7 @@ + int ret; + + lock_kernel(); -+ ret = zt_ioctl(file->f_mapping->host, file, cmd, data); ++ ret = zt_ioctl(file->f_path.dentry->d_inode, file, cmd, data); + unlock_kernel(); + + return ret;