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 43784f6..bff07ca 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;