kernel_optimize_test/drivers/media/dvb/dvb-core
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
..
demux.h
dmxdev.c V4L/DVB (11841): core: fix potential mutex_unlock without mutex_lock in dvb_dvr_read 2009-06-16 18:21:10 -03:00
dmxdev.h
dvb_ca_en50221.c V4L/DVB (10391): dvb: constify VFTs 2009-03-30 12:42:34 -03:00
dvb_ca_en50221.h
dvb_demux.c V4L/DVB (10572): Revert commit dda06a8e46 2009-02-17 09:43:09 -03:00
dvb_demux.h
dvb_filter.c
dvb_filter.h
dvb_frontend.c V4L/DVB (10391): dvb: constify VFTs 2009-03-30 12:42:34 -03:00
dvb_frontend.h
dvb_math.c
dvb_math.h
dvb_net.c V4L/DVB (10391): dvb: constify VFTs 2009-03-30 12:42:34 -03:00
dvb_net.h
dvb_ringbuffer.c
dvb_ringbuffer.h
dvbdev.c V4L/DVB (10391): dvb: constify VFTs 2009-03-30 12:42:34 -03:00
dvbdev.h V4L/DVB (10391): dvb: constify VFTs 2009-03-30 12:42:34 -03:00
Makefile