Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 286229
b: refs/heads/master
c: b8deb62
h: refs/heads/master
i:
  286227: a95fae1
v: v3
  • Loading branch information
Matthew Wilcox committed Nov 4, 2011
1 parent cb0db9b commit 0afa607
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ff22b54fda2078fc3cd1bcdcb7a5ce5d08fd6591
refs/heads/master: b8deb62cf271fa9381edc8cf52bcae2f0225c55a
1 change: 1 addition & 0 deletions trunk/drivers/block/nvme.c
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,7 @@ static int nvme_submit_bio_queue(struct nvme_queue *nvmeq, struct nvme_ns *ns,
spin_lock_irqsave(&nvmeq->q_lock, flags);
cmnd = &nvmeq->sq_cmds[nvmeq->sq_tail];

memset(cmnd, 0, sizeof(*cmnd));
if (bio_data_dir(bio)) {
cmnd->rw.opcode = nvme_cmd_write;
dma_dir = DMA_TO_DEVICE;
Expand Down

0 comments on commit 0afa607

Please sign in to comment.