zaptel-1.4: Fix inode pointer

git-svn-id: svn://svn.openwrt.org/openwrt/packages@23312 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
mb 2010-10-07 21:43:27 +00:00
parent 18af05e66e
commit f2f2a0696f

View 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;