commit | 10f34f64d3a50912ae49c67c08c9162effdf546a | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Mon Apr 08 23:02:07 2013 +0930 |
committer | Rusty Russell <rusty@rustcorp.com.au> | Mon Apr 08 23:06:53 2013 +0930 |
tree | 0f5bfa34fdd3f94670362affa42720b03aedee4c | |
parent | 7f82b3c9158f3ce8eb9eaf0320a359de9ab6392c [diff] |
virtio-scsi: push vq lock/unlock into virtscsi_vq_done Avoid duplicated code in all of the callers. Cc: linux-scsi@vger.kernel.org Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com> Reviewed-by: Asias He <asias@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>