From: Michael S. Tsirkin Date: Wed, 17 Mar 2010 14:06:11 +0000 (+0200) Subject: vhost: fix error handling in vring ioctls X-Git-Tag: v2.6.34-rc3~84^2~5^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=535297a6ae4c3b7a0562e71fac15c213eeec68e7;p=pandora-kernel.git vhost: fix error handling in vring ioctls Stanse found a locking problem in vhost_set_vring: several returns from VHOST_SET_VRING_KICK, VHOST_SET_VRING_CALL, VHOST_SET_VRING_ERR with the vq->mutex held. Fix these up. Reported-by: Jiri Slaby Acked-by: Laurent Chavey Signed-off-by: Michael S. Tsirkin --- Reading git-diff-tree failed