summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/cluster/heartbeat.h
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2013-03-09 00:16:32 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-03-23 09:58:49 -0300
commitbdecbe43e345d1e5a0fa82625d7beb7c3371763e (patch)
tree1873a84591bd4e2ed928495625155f0fa4955d06 /fs/ocfs2/cluster/heartbeat.h
parent028c70ff42783509d3a7c7fa0faf900446a2657a (diff)
downloadblackbird-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/ocfs2/cluster/heartbeat.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud