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
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
icn
isdnloop
mISDN
pcbit
sc Kconfig: Remove useless and sometimes wrong comments 2009-11-09 09:40:56 +01:00
Kconfig
Makefile