From: Michael Büsch Date: Thu, 7 Oct 2010 21:43:27 +0000 (+0000) Subject: zaptel-1.4: Fix inode pointer X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f5088b0a4daeed5e4512a44d4f1fa0a12f09a85e;p=openwrt%2Fsvn-archive%2Farchive.git zaptel-1.4: Fix inode pointer SVN-Revision: 23312 --- 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 43784f63d7..bff07cae73 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;