zaptel-1.4: Fix inode pointer
This commit is contained in:
parent
69b1a081b0
commit
c9f184f838
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue