]> git.baikalelectronics.ru Git - kernel.git/commit
video1394: remove BKL contention
authorDaniel Drake <ddrake@brontes3d.com>
Fri, 20 Oct 2006 13:56:01 +0000 (14:56 +0100)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Thu, 7 Dec 2006 20:31:25 +0000 (21:31 +0100)
commit9910f4f2592cfdae772448dd64c29aaef2f0a399
treee4fdb1e7515107bbff0543a7edbbdcfff7d87dbc
parent5f346a9e840fb5d504c21d111334f1f6b4e9d361
video1394: remove BKL contention

video1394 does not need to take the BKL. The data structures shared between
file_operations and interrupts are already protected through context-specific
spinlocks.

The only other danger is video1394_release() being called during another
operation, however this cannot happen because release is only ever invoked
when the last thread has closed the fd.

Signed-off-by: Daniel Drake <ddrake@brontes3d.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/ieee1394/video1394.c