V4L/DVB (6276): V4L: videobuf-core.c lock before streaming check
authorBrandon Philips <bphilips@suse.de>
Thu, 27 Sep 2007 23:55:28 +0000 (20:55 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 10 Oct 2007 03:03:05 +0000 (00:03 -0300)
commit00f98d0804c88c29bef81cb98c861f13c9b33f30
tree0ca7f4b912e31f49fe342a29558d14b8cf2d395c
parentba32bd95d431525ad2ffac97cadf9ee40b63939e
V4L/DVB (6276): V4L: videobuf-core.c lock before streaming check

The reading/streaming fields are used for mutual exclusion of the queue and
should be protected by the queue lock.

Signed-off-by: Brandon Philips <bphilips@suse.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
http://thread.gmane.org/gmane.comp.video.video4linux/34978/focus=34981
Reviewed-by: Ricardo Cerqueira <v4l@cerqueira.org>
drivers/media/video/videobuf-core.c