linux/drivers/isdn
Jan Kiszka 05b4149433 CAPI: Rework locking of capidev members
Rename 'ncci_list_mtx' to 'lock', expressing that it now protects a
larger set of capidev members: the NCCI list, ap.applid (ie. the
registration of the application), and modifications of userflags.

We do not need to protect each and every check for ap.applid because,
once an application is registered, it will stay for the whole lifetime
of the device.

Also, there is no need to apply the capidev mutex during release (if
there could be concurrent users, we would crash them anyway by freeing
the device at the end of capi_release).

Signed-off-by: Jan Kiszka <jan.kiszka@web.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-02-16 16:01:24 -08:00
..
act2000 Kconfig: Remove useless and sometimes wrong comments 2009-11-09 09:40:56 +01:00
capi CAPI: Rework locking of capidev members 2010-02-16 16:01:24 -08:00
divert headers: remove sched.h from poll.h 2009-10-04 15:05:10 -07:00
gigaset proc_fops: convert drivers/isdn/ to seq_file 2010-01-14 03:10:54 -08:00
hardware mISDN: positive error return should be negative in mode_hfcmulti() 2010-02-03 20:16:48 -08:00
hisax hisax: timeout off by one in waitrecmsg() 2010-02-03 20:16:46 -08:00
hysdn proc_fops: convert drivers/isdn/ to seq_file 2010-01-14 03:10:54 -08:00
i4l Merge branch 'for-next' into for-linus 2009-12-07 18:36:35 +01:00
icn Kconfig: Remove useless and sometimes wrong comments 2009-11-09 09:40:56 +01:00
isdnloop drivers/isdn: correct use of ! and & 2008-03-04 16:35:16 -08:00
mISDN mISDN: use DECLARE_COMPLETION_ONSTACK for non-constant completion 2009-12-18 20:30:11 -08:00
pcbit Kconfig: Remove useless and sometimes wrong comments 2009-11-09 09:40:56 +01:00
sc Kconfig: Remove useless and sometimes wrong comments 2009-11-09 09:40:56 +01:00
Kconfig ISDN: Make isdnhdlc usable for other ISDN drivers 2009-07-25 20:15:21 +02:00
Makefile mISDN fix main ISDN Makefile 2008-08-02 16:28:20 +02:00