kernel_optimize_test/drivers/media/dvb
Simon Arlott c278850206 V4L/DVB (5400): Core: fix several locking related problems
Fix several instances of dvb-core functions using mutex_lock_interruptible
and returning -ERESTARTSYS where the calling function will either never
retry or never check the return value.
These cause a race condition with dvb_dmxdev_filter_free and
dvb_dvr_release, both of which are filesystem release functions whose
return value is ignored and will never be retried.  When this happens it
becomes impossible to open dvr0 again (-EBUSY) since it has not been
released properly.

Signed-off-by: Simon Arlott <simon@fire.lp0.eu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-By: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-03-27 08:45:54 -03:00
..
b2c2 V4L/DVB (4999): [PATCH] Cablestar2 support 2007-02-21 13:34:15 -02:00
bt8xx V4L/DVB (5202): DVB: Use ARRAY_SIZE macro when appropriate 2007-02-21 13:35:18 -02:00
cinergyT2 V4L/DVB (5121): Proper vendor/device ID for the CinergyT2 input device 2007-02-21 13:34:48 -02:00
dvb-core V4L/DVB (5400): Core: fix several locking related problems 2007-03-27 08:45:54 -03:00
dvb-usb V4L/DVB (5276): Cxusb: fix firmware patch for big endian systems 2007-03-01 13:09:45 -02:00
frontends [PATCH] cx88-dvb: fix nxt200x rf input switching 2007-03-24 16:49:22 -07:00
pluto2 i2c: Discard the i2c algo del_bus wrappers 2006-12-10 21:21:33 +01:00
ttpci V4L/DVB (5246): Budget-ci: IR handling fixups 2007-02-21 13:35:32 -02:00
ttusb-budget i2c: Declare more i2c_adapter parent devices 2007-02-13 22:09:03 +01:00
ttusb-dec V4L/DVB (5164): Compat: Handle input_register_device() change and some others 2007-02-21 13:35:10 -02:00
Kconfig V4L/DVB (4037): Make the bridge devices that depend on I2C dependant on I2C 2006-05-23 15:56:38 -03:00
Makefile [PATCH] dvb: add Pluto2 driver 2005-07-07 18:23:55 -07:00