diff options
author | Antti Palosaari <crope@iki.fi> | 2013-03-09 00:16:32 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-03-23 09:58:49 -0300 |
commit | bdecbe43e345d1e5a0fa82625d7beb7c3371763e (patch) | |
tree | 1873a84591bd4e2ed928495625155f0fa4955d06 /fs/freevxfs/vxfs_fshead.h | |
parent | 028c70ff42783509d3a7c7fa0faf900446a2657a (diff) | |
download | blackbird-op-linux-bdecbe43e345d1e5a0fa82625d7beb7c3371763e.tar.gz blackbird-op-linux-bdecbe43e345d1e5a0fa82625d7beb7c3371763e.zip |
[media] dvb_usb_v2: replace Kernel userspace lock with wait queue
There was sync mutex which was held over userspace. That is very
wrong and could cause deadlock if different userspace process is
used to "unlock". Wait queue seems to be correct solution for
that kind of synchronizing issue so use it instead.
lock debug gives following bug report:
================================================
[ BUG: lock held when returning to user space! ]
3.9.0-rc1+ #38 Tainted: G O
------------------------------------------------
tzap/4614 is leaving the kernel with locks still held!
1 lock held by tzap/4614:
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'fs/freevxfs/vxfs_fshead.h')
0 files changed, 0 insertions, 0 deletions