From: Ian Campbell Date: Tue, 3 Nov 2009 15:58:40 +0000 (+0000) Subject: xenbus: do not hold transaction_mutex when returning to userspace X-Git-Tag: v2.6.36-rc1~551^2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c31a781144c1f556dfcda3277dafecd4e107d95;p=pandora-kernel.git 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: [] 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 Signed-off-by: Jeremy Fitzhardinge --- Reading git-diff-tree failed