[Asterisk-cvs] zaptel zaptel.c,1.71,1.72
markster at lists.digium.com
markster at lists.digium.com
Sat May 1 13:29:14 CDT 2004
Update of /usr/cvsroot/zaptel
In directory mongoose.digium.com:/tmp/cvs-serv30157
Modified Files:
zaptel.c
Log Message:
Don't hold big zap lock in open (bug #1207)
Index: zaptel.c
===================================================================
RCS file: /usr/cvsroot/zaptel/zaptel.c,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -d -r1.71 -r1.72
--- zaptel.c 26 Apr 2004 05:03:13 -0000 1.71
+++ zaptel.c 1 May 2004 17:36:39 -0000 1.72
@@ -2156,7 +2156,7 @@
}
}
-static int __zt_open(struct inode *inode, struct file *file)
+static int zt_open(struct inode *inode, struct file *file)
{
int unit = UNIT(file);
struct zt_chan *chan;
@@ -2187,6 +2187,7 @@
return zt_specchan_open(inode, file, unit, 1);
}
+#if 0
static int zt_open(struct inode *inode, struct file *file)
{
int res;
@@ -2196,6 +2197,7 @@
spin_unlock_irqrestore(&bigzaplock, flags);
return res;
}
+#endif
static ssize_t zt_read(struct file *file, char *usrbuf, size_t count, loff_t *ppos)
{
More information about the svn-commits
mailing list