From: Paolo Bonzini Date: Tue, 14 Oct 2014 23:52:33 +0000 (+1030) Subject: virito_scsi: use freezable WQ for events X-Git-Tag: fixes-against-v3.18-rc2~57^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1fa5b2a784dc52d929432bcc963a0bfb3a74608f;p=pandora-kernel.git virito_scsi: use freezable WQ for events Michael S. Tsirkin noticed a race condition: we reset device on freeze, but system WQ is still running so it might try adding bufs to a VQ meanwhile. To fix, switch to handling events from the freezable WQ. Reported-by: Michael S. Tsirkin Signed-off-by: Paolo Bonzini Signed-off-by: Michael S. Tsirkin Signed-off-by: Rusty Russell --- Reading git-diff-tree failed