diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2013-04-08 15:32:07 +0200 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2013-04-08 15:36:53 +0200 |
commit | 10f34f64d3a50912ae49c67c08c9162effdf546a (patch) | |
tree | 0f5bfa34fdd3f94670362affa42720b03aedee4c /kernel/mutex.h | |
parent | virtio-scsi: pass struct virtio_scsi to virtqueue completion function (diff) | |
download | linux-10f34f64d3a50912ae49c67c08c9162effdf546a.tar.xz linux-10f34f64d3a50912ae49c67c08c9162effdf546a.zip |
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>
Diffstat (limited to 'kernel/mutex.h')
0 files changed, 0 insertions, 0 deletions