Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 286241
b: refs/heads/master
c: 388f037
h: refs/heads/master
i:
  286239: 7ba2c60
v: v3
  • Loading branch information
Matthew Wilcox committed Nov 4, 2011
1 parent 42f6779 commit 7a17163
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: 5911f20039ce59d7e7834f0c42151cf759b6f786
refs/heads/master: 388f037f4e7f0a24bac6b1a24f144f5d939f58cf
1 change: 1 addition & 0 deletions trunk/drivers/block/nvme.c
Original file line number Diff line number Diff line change
Expand Up @@ -889,6 +889,7 @@ static struct nvme_ns *nvme_alloc_ns(struct nvme_dev *dev, int index,
disk->fops = &nvme_fops;
disk->private_data = ns;
disk->queue = ns->queue;
disk->driverfs_dev = &dev->pci_dev->dev;
sprintf(disk->disk_name, "nvme%dn%d", dev->instance, index);
set_capacity(disk, le64_to_cpup(&id->nsze) << (ns->lba_shift - 9));

Expand Down

0 comments on commit 7a17163

Please sign in to comment.