Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 316825
b: refs/heads/master
c: b5ee8f2
h: refs/heads/master
i:
  316823: 8ea6f16
v: v3
  • Loading branch information
Paolo Bonzini authored and James Bottomley committed Jul 20, 2012
1 parent a611721 commit fb969d1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: a752359f2b0a291c5f229e883842e4b30c698387
refs/heads/master: b5ee8f2802c559fccb177c0a117f5cd56c1049cc
4 changes: 3 additions & 1 deletion trunk/drivers/scsi/virtio_scsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -264,9 +264,11 @@ static int virtscsi_kick_cmd(struct virtio_scsi *vscsi, struct virtqueue *vq,

ret = virtqueue_add_buf(vq, vscsi->sg, out_num, in_num, cmd, gfp);
if (ret >= 0)
virtqueue_kick(vq);
ret = virtqueue_kick_prepare(vq);

spin_unlock_irqrestore(&vscsi->vq_lock, flags);
if (ret > 0)
virtqueue_notify(vq);
return ret;
}

Expand Down

0 comments on commit fb969d1

Please sign in to comment.