summaryrefslogtreecommitdiffstats
path: root/drivers/xen/xenfs
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2009-11-03 15:58:40 +0000
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>2009-11-03 14:35:59 -0800
commit4c31a781144c1f556dfcda3277dafecd4e107d95 (patch)
treecc2712f289e047b4cb782362bf3cef1415b04cb3 /drivers/xen/xenfs
parent74fca6a42863ffacaf7ba6f1936a9f228950f657 (diff)
downloadtalos-op-linux-4c31a781144c1f556dfcda3277dafecd4e107d95.tar.gz
talos-op-linux-4c31a781144c1f556dfcda3277dafecd4e107d95.zip
xenbus: do not hold transaction_mutex when returning to userspace
================================================ [ BUG: lock held when returning to user space! ] ------------------------------------------------ xenstore-list/3522 is leaving the kernel with locks still held! 1 lock held by xenstore-list/3522: #0: (&xs_state.transaction_mutex){......}, at: [<c026dc6f>] xenbus_dev_request_and_reply+0x8f/0xa0 The canonical fix for this type of issue appears to be to maintain a count manually rather than using an rwsem so do that here. Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Diffstat (limited to 'drivers/xen/xenfs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud