Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 268060
b: refs/heads/master
c: 70691ec
h: refs/heads/master
v: v3
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed Aug 29, 2011
1 parent ef26c24 commit a9d57cd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 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: 2544b794372b63e46384ac4af91c5630e92cf7f4
refs/heads/master: 70691ec666a6c04f6f1438d9a0bf495b24e22610
12 changes: 2 additions & 10 deletions trunk/drivers/staging/hv/storvsc_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -1315,17 +1315,9 @@ static int storvsc_queuecommand_lck(struct scsi_cmnd *scmnd,
if (ret == -EAGAIN) {
/* no more space */

if (cmd_request->bounce_sgl_count) {
/*
* FIXME: We can optimize on writes by just skipping
* this
*/
copy_from_bounce_buffer(scsi_sglist(scmnd),
cmd_request->bounce_sgl,
scsi_sg_count(scmnd));
if (cmd_request->bounce_sgl_count)
destroy_bounce_buffer(cmd_request->bounce_sgl,
cmd_request->bounce_sgl_count);
}
cmd_request->bounce_sgl_count);

kmem_cache_free(host_dev->request_pool, cmd_request);

Expand Down

0 comments on commit a9d57cd

Please sign in to comment.