zaptel-1.4: Fix inode pointer
authorMichael Büsch <mb@bu3sch.de>
Thu, 7 Oct 2010 21:43:27 +0000 (21:43 +0000)
committerMichael Büsch <mb@bu3sch.de>
Thu, 7 Oct 2010 21:43:27 +0000 (21:43 +0000)
SVN-Revision: 23312

libs/zaptel-1.4.x/patches/370-2.6.36.patch

index 43784f63d70b5c740a36d2a69d2e9b91f15cd598..bff07cae7325bf27fb4e9c074f8eb4368cadf826 100644 (file)
@@ -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;