linux/drivers/media
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
..
common V4L/DVB (11806): xc5000: add copyright line 2009-06-16 18:21:08 -03:00
dvb V4L/DVB (11841): core: fix potential mutex_unlock without mutex_lock in dvb_dvr_read 2009-06-16 18:21:10 -03:00
radio V4L/DVB (11677): radio-fm16: fix g_tuner. 2009-06-16 18:21:01 -03:00
video V4L/DVB (11840): change kmalloc to vmalloc for sglist allocation in videobuf_dma_map/unmap 2009-06-16 18:21:10 -03:00
Kconfig V4L/DVB (10633): DAB: fix typo 2009-03-30 12:42:49 -03:00
Makefile V4L/DVB (8274): sms1xxx: build cleanup after driver relocation 2008-07-20 07:20:56 -03:00