Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 316827
b: refs/heads/master
c: bce750b
h: refs/heads/master
i:
  316825: fb969d1
  316823: 8ea6f16
v: v3
  • Loading branch information
Paolo Bonzini authored and James Bottomley committed Jul 20, 2012
1 parent ad988e9 commit 33cec7f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 139fe45abc2234b20fd5ecbcb7ea6d3688fed5e5
refs/heads/master: bce750b1633927be3eecf821f4d17975c3ba5b6a
4 changes: 2 additions & 2 deletions trunk/drivers/scsi/virtio_scsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -281,11 +281,11 @@ static int virtscsi_kick_cmd(struct virtio_scsi *vscsi, struct virtio_scsi_vq *v

spin_lock(&vq->vq_lock);
ret = virtqueue_add_buf(vq->vq, vscsi->sg, out_num, in_num, cmd, gfp);
spin_unlock(&vscsi->sg_lock);
if (ret >= 0)
ret = virtqueue_kick_prepare(vq->vq);

spin_unlock(&vq->vq_lock);
spin_unlock_irqrestore(&vscsi->sg_lock, flags);
spin_unlock_irqrestore(&vq->vq_lock, flags);

if (ret > 0)
virtqueue_notify(vq->vq);
Expand Down

0 comments on commit 33cec7f

Please sign in to comment.