projects
/
openwrt
/
svn-archive
/
archive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38ad0b9
)
zaptel-1.4: Fix inode pointer
author
Michael Büsch
<mb@bu3sch.de>
Thu, 7 Oct 2010 21:43:27 +0000
(21:43 +0000)
committer
Michael 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
patch
|
blob
|
history
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 43784f63d70b5c740a36d2a69d2e9b91f15cd598..bff07cae7325bf27fb4e9c074f8eb4368cadf826 100644
(file)
--- 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;