kernel-hacking-2024-linux-s.../drivers/media/dvb
Simon Arlott eda9f7523b V4L/DVB (11841): core: fix potential mutex_unlock without mutex_lock in dvb_dvr_read
dvb_dvr_read may unlock the dmxdev mutex and return -ENODEV, except this
function is a file op and will never be called with the mutex held.

There's existing mutex_lock and mutex_unlock around the actual read but
it's commented out.  These should probably be uncommented but the read
blocks and this could block another non-blocking reader on the mutex
instead.

This change comments out the extra mutex_unlock.

[akpm@linux-foundation.org: cleanups, simplification]
Signed-off-by: Simon Arlott <simon@fire.lp0.eu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-06-16 18:21:10 -03:00
..
b2c2 V4L/DVB (11829): Rewrote frontend-attach mechanism to gain noise-less deactivation of submodules 2009-06-16 18:21:09 -03:00
bt8xx V4L/DVB (11255): dst_ca: fix compile warning. 2009-03-30 12:43:44 -03:00
dm1105 dma-mapping: replace all DMA_32BIT_MASK macro with DMA_BIT_MASK(32) 2009-04-07 08:31:11 -07:00
dvb-core V4L/DVB (11841): core: fix potential mutex_unlock without mutex_lock in dvb_dvr_read 2009-06-16 18:21:10 -03:00
dvb-usb V4L/DVB (11833): dvb-usb: Remove support for Genpix-CW3K (damages hardware) 2009-06-16 18:21:09 -03:00
firewire V4L/DVB (11739): remove driver_data direct access of struct device 2009-06-16 18:20:58 -03:00
frontends V4L/DVB (11828): Reducing print-level of I2C error prints 2009-06-16 18:21:09 -03:00
pluto2 dma-mapping: replace all DMA_32BIT_MASK macro with DMA_BIT_MASK(32) 2009-04-07 08:31:11 -07:00
siano V4L/DVB (10772): siano: prevent duplicate variable declaration 2009-03-30 12:43:02 -03:00
ttpci V4L/DVB (11763): dvb-ttpci: Some whitespace adjustments 2009-06-16 18:21:02 -03:00
ttusb-budget
ttusb-dec
Kconfig firedtv: massive refactoring 2009-02-24 14:51:29 +01:00
Makefile firedtv: rename files, variables, functions from firesat to firedtv 2009-02-24 14:51:29 +01:00